added backend calls

This commit is contained in:
CHIEFSOFT\ameye
2024-11-30 04:45:14 -05:00
parent 64681a6c8c
commit 9f6e00ce29
3 changed files with 29 additions and 9 deletions
@@ -47,23 +47,14 @@ class WrenchAccount extends BaseController
}
public function loadRefer(){
$out=[];
$raw_json = file_get_contents('php://input');
$raw_array = json_decode($raw_json, true);
$in = $raw_array;
$in["action"] = WRENCHBOARD_LOAD_REFERLINK;
$in["loc"] = $_SERVER["REMOTE_ADDR"];
// $wrenchboard = new \App\Models\BackendModel();
$ret = $this->wrenchboard->wrenchboard_api($in, $out);
$out['internal_return'] = $ret;
return $this->respond( $this->summaryReturnData($in,$out), 200);
}
}