PromoAdmin

This commit is contained in:
CHIEFSOFT\ameye
2024-11-17 07:55:00 -05:00
parent dc5ae1c068
commit 6c467a7280
3 changed files with 43 additions and 2 deletions
+29
View File
@@ -0,0 +1,29 @@
<?php
namespace App\Controllers;
use CodeIgniter\API\ResponseTrait;
class PromoAdmin extends BaseController
{
public function promoList(){
log_message('critical', "***** ***** PromoAdmin::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', "***** ***** PromoAdmin::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);
}
}