promot load

This commit is contained in:
CHIEFSOFT\ameye
2024-09-19 11:06:17 -04:00
parent e703e093ab
commit 6d2fa287fa
+19 -2
View File
@@ -35,11 +35,28 @@ class Promo extends BaseController
}
public function promoVerify(){
$raw_json = file_get_contents('php://input');
$in = json_decode($raw_json, true);
$in["action"] = -1; // bad number - we dont want formating WRENCHBOARD_ACCOUNT_JOBLIST; dont send this line , the formater will be confused
$out=[];
$out =[];
//$in["action"] = -1;
$in['action'] = WRENCHBOARD_MARKET_PLAN01_NEXT1;
$ret = $this->wrenchboard->wrenchboard_api($in, $out);
$out['internal_return'] = $ret;
// $in["promo"] = $promo;
// $in["promo_owner"] = $promoOwner;
log_message('critical', "Promo::promoStart ********* ALL ".serialize($in) );
$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 ,";
$out["site_name"]= "WrenchBoard";
// $out["server_name"]= "https://www.wrenchboard.com";
$out['yyyy'] = '2024';
// $out['user_server_name'] = 'https://dev-users.wrenchboard.com';
log_message('critical', "***** ***** Promo::promoVerify Ret ");
return $this->respond( $this->summaryReturnData($in,$out), 200);