back end call

This commit is contained in:
DESKTOP-GBA0BK8\Admin
2023-04-16 15:59:37 -04:00
parent ce48f5080f
commit 689f014c6a
+8 -7
View File
@@ -310,13 +310,14 @@ class WrenchApi extends BaseController
$out = array(); $out = array();
if ( $call_backend == true){ if ( $call_backend == true){
/* $this->load->model('BackendModel'); $wrenchboard = new \App\Models\BackendModel();
$out = array(); /* $this->load->model('BackendModel');
//$ret = $this->BackendModel->wrenchboard_api($in, $out); $out = array();
// $wrenchboard = new \App\Models\BackendModel(); //$ret = $this->BackendModel->wrenchboard_api($in, $out);
// $ret = $wrenchboard->wrenchboard_api($in, $out); // $wrenchboard = new \App\Models\BackendModel();
$out['internal_return'] = 0; // $ret; // this is reserved array parameter - to be captured and received before you use the out array() // $ret = $wrenchboard->wrenchboard_api($in, $out);
*/ } $out['internal_return'] = 0; // $ret; // this is reserved array parameter - to be captured and received before you use the out array()
*/ }
else else
{ {
$out = $local_out; $out = $local_out;