back end call
This commit is contained in:
@@ -310,13 +310,14 @@ class WrenchApi extends BaseController
|
||||
$out = array();
|
||||
|
||||
if ( $call_backend == true){
|
||||
/* $this->load->model('BackendModel');
|
||||
$out = array();
|
||||
//$ret = $this->BackendModel->wrenchboard_api($in, $out);
|
||||
// $wrenchboard = new \App\Models\BackendModel();
|
||||
// $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()
|
||||
*/ }
|
||||
$wrenchboard = new \App\Models\BackendModel();
|
||||
/* $this->load->model('BackendModel');
|
||||
$out = array();
|
||||
//$ret = $this->BackendModel->wrenchboard_api($in, $out);
|
||||
// $wrenchboard = new \App\Models\BackendModel();
|
||||
// $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
|
||||
{
|
||||
$out = $local_out;
|
||||
|
||||
Reference in New Issue
Block a user