From a4011289f8006943d4ce8563d196e3582dadc00f Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Wed, 2 Oct 2024 13:45:04 -0400 Subject: [PATCH] log_message('critical', "summaryReturnData:: ********* OUT ".serialize($outResult) ); --- www-api/app/Controllers/BaseController.php | 2 ++ www-api/app/Controllers/Promo.php | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/www-api/app/Controllers/BaseController.php b/www-api/app/Controllers/BaseController.php index 82ed3bfd..0971ef46 100644 --- a/www-api/app/Controllers/BaseController.php +++ b/www-api/app/Controllers/BaseController.php @@ -487,6 +487,8 @@ wrenchboard=# ]; } public function summaryReturnData($in,$outResult, $extraOut=[]){ + log_message('critical', "summaryReturnData:: ********* IN ".serialize($in) ); + log_message('critical', "summaryReturnData:: ********* OUT ".serialize($outResult) ); if ($in["action"] == -1 ){ $final_out = $outResult; } diff --git a/www-api/app/Controllers/Promo.php b/www-api/app/Controllers/Promo.php index 7a052ea5..12e91ed0 100644 --- a/www-api/app/Controllers/Promo.php +++ b/www-api/app/Controllers/Promo.php @@ -21,8 +21,8 @@ class Promo extends BaseController // $in["promo_owner"] = $promoOwner; log_message('critical', "Promo::promoStart ********* ALL ".serialize($in) ); - $in["loc"] = $_SERVER["REMOTE_ADDR"]; - $in['limit'] = 10; + // $in["loc"] = $_SERVER["REMOTE_ADDR"]; + // $in['limit'] = 10; // $out["firstname"] = "Firstname"; // $out["promo_title"] = "This is the promo title"; // $out["promo_description"] = "This is the promo description , This is the promo description ,This is the promo description ,This is the promo description ,This is the promo description ,This is the promo description ,This is the promo description ,";