promo actions list

This commit is contained in:
CHIEFSOFT\ameye
2024-11-24 17:22:17 -05:00
parent 9b1769193b
commit 6f83a9829c
2 changed files with 15 additions and 0 deletions
+13
View File
@@ -18,6 +18,19 @@ class PromoAdmin extends BaseController
return $this->respond( $this->summaryReturnData($in,$out), 200);
}
public function promoActionList(){
log_message('critical', "***** ***** PromoAdmin::promoList ****" );
$raw_json = file_get_contents('php://input');
$in = json_decode($raw_json, true);
$out = [];
$in["action"] = WRENCHBOARD_PROMOADMIN_GETLIST;
$ret = $this->wrenchboard->wrenchboard_api($in, $out);
return $this->respond( $this->summaryReturnData($in,$out), 200);
}
public function promoAddRef(){
log_message('critical', "***** ***** PromoAdmin::promoAddRef ****" );
// $in = $this->request->getPostGet();