New route added
This commit is contained in:
@@ -205,6 +205,8 @@ $routes->post('/en/wrench/api/v1/assignmediatask','WrenchJobs::assignTask' ); //
|
||||
|
||||
$routes->post('/en/wrench/api/v1/uploads', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/myfiles', 'WrenchUser::UsersFiles'); //'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/sendreferlink','WrenchUser::UsersRefLink'); //'WrenchApi::apigate');
|
||||
|
||||
|
||||
$routes->post('/en/wrench/api/v1/marketmessage', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/marketinterest', 'WrenchJobs::sendJobInterest'); //'WrenchApi::apigate'
|
||||
|
||||
@@ -25,5 +25,18 @@ class WrenchUser extends BaseController
|
||||
log_message('critical', "***** ***** WrenchUser::UsersFiles Ret ");
|
||||
return $this->respond( $this->summaryReturnData($in,$out), 200);
|
||||
}
|
||||
|
||||
public function UsersRefLink(){
|
||||
$raw_json = file_get_contents('php://input');
|
||||
$in = json_decode($raw_json, true);
|
||||
$in["action"] = WRENCHBOARD_MYFILES_LIST;
|
||||
$out=[];
|
||||
|
||||
|
||||
|
||||
|
||||
log_message('critical', "***** ***** WrenchUser::UsersRefLink Ret ");
|
||||
return $this->respond( $this->summaryReturnData($in,$out), 200);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user