PromoAdmin
This commit is contained in:
@@ -141,10 +141,22 @@ class Promo extends BaseController
|
||||
return $this->respond( $this->summaryReturnData($in,$out), 200);
|
||||
}
|
||||
public function promoList(){
|
||||
log_message('critical', "***** ***** Promo::promoList ****" );
|
||||
// $in = $this->request->getPostGet();
|
||||
$raw_json = file_get_contents('php://input');
|
||||
$in = json_decode($raw_json, true);
|
||||
$out = [];
|
||||
|
||||
return $this->respond( $this->summaryReturnData($in,$out), 200);
|
||||
}
|
||||
public function promoAddRef(){
|
||||
log_message('critical', "***** ***** Promo::promoAddRef ****" );
|
||||
// $in = $this->request->getPostGet();
|
||||
$raw_json = file_get_contents('php://input');
|
||||
$in = json_decode($raw_json, true);
|
||||
$out = [];
|
||||
|
||||
return $this->respond( $this->summaryReturnData($in,$out), 200);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user