$endpoint
This commit is contained in:
@@ -72,13 +72,13 @@ class WrenchTransactions extends BaseController
|
||||
log_message('critical', "wrenchboard_api-CALL RAW DATA".serialize($raw_array) );
|
||||
//-- move to another module start
|
||||
|
||||
log_message('critical', "WrenchTransactions-Gate 005 ->".$endpoints);
|
||||
log_message('critical', "WrenchTransactions-Gate 005 ->".$endpoint);
|
||||
$in["loc"] = $_SERVER["REMOTE_ADDR"];
|
||||
|
||||
switch ($endpoints){
|
||||
switch ($endpoint){
|
||||
|
||||
case 'startcredit':
|
||||
log_message('critical', "WrenchTransactions-Gate 006 ->".$endpoints);
|
||||
log_message('critical', "WrenchTransactions-Gate 006 ->".$endpoint);
|
||||
$call_backend = true;
|
||||
$in["action"] = WRENCHBOARD_USER_STARTCREDIT;
|
||||
break;
|
||||
@@ -93,7 +93,7 @@ class WrenchTransactions extends BaseController
|
||||
|
||||
|
||||
if ( $call_backend == true && $in["action"] !='' ){
|
||||
log_message('critical', "WrenchTransactions-Gate 007 ->".$endpoints);
|
||||
log_message('critical', "WrenchTransactions-Gate 007 ->".$endpoint);
|
||||
$wrenchboard = new \App\Models\BackendModel();
|
||||
$ret = $wrenchboard->wrenchboard_api($in, $out);
|
||||
$out['internal_return'] = $ret;
|
||||
|
||||
Reference in New Issue
Block a user