call backend
This commit is contained in:
@@ -112,7 +112,7 @@ class WrenchApi extends BaseController
|
|||||||
|
|
||||||
|
|
||||||
//-- move to another module start
|
//-- move to another module start
|
||||||
|
$call_backend = true;
|
||||||
$in["loc"] = $_SERVER["REMOTE_ADDR"];
|
$in["loc"] = $_SERVER["REMOTE_ADDR"];
|
||||||
switch ($endpoint) {
|
switch ($endpoint) {
|
||||||
case 'disableaccount':
|
case 'disableaccount':
|
||||||
@@ -304,7 +304,7 @@ class WrenchApi extends BaseController
|
|||||||
{
|
{
|
||||||
$out = $local_out;
|
$out = $local_out;
|
||||||
}
|
}
|
||||||
|
|
||||||
//ResultFormatter
|
//ResultFormatter
|
||||||
return json_encode( ( new \App\Models\ResultFormatter() )->processOutJson($in, $out));
|
return json_encode( ( new \App\Models\ResultFormatter() )->processOutJson($in, $out));
|
||||||
// $res1 = $this->dummyData($raw_array);
|
// $res1 = $this->dummyData($raw_array);
|
||||||
|
|||||||
Reference in New Issue
Block a user