promo actions list
This commit is contained in:
@@ -45,6 +45,8 @@ $routes->post('/en/promoadmin/api/v1/getlist', 'PromoAdmin::promoList');
|
||||
$routes->post('/en/promoadmin/api/v1/list', 'PromoAdmin::promoAddRef');
|
||||
$routes->post('/en/promoadmin/api/v1/getmember', 'PromoAdmin::promoGetMember');
|
||||
$routes->post('/en/promoadmin/api/v1/assigntask', 'PromoAdmin::promoAssignTask');
|
||||
$routes->post('/en/promoadmin/api/v1/getactions', 'PromoAdmin::promoActionList');
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user