call backend

This commit is contained in:
DESKTOP-GBA0BK8\Admin
2023-04-16 08:29:46 -04:00
parent 43cd6d3792
commit 44d491603f
+2 -2
View File
@@ -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);