promo backend
This commit is contained in:
@@ -7,6 +7,15 @@ use CodeIgniter\API\ResponseTrait;
|
||||
class WrenchAuth extends BaseController
|
||||
{
|
||||
use ResponseTrait;
|
||||
|
||||
public function promoLogin(){
|
||||
// $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 userLogin(){
|
||||
|
||||
// $in = $this->request->getPostGet();
|
||||
|
||||
Reference in New Issue
Block a user