added backend calls
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user