Web Api clean up
This commit is contained in:
@@ -94,4 +94,108 @@ abstract class BaseController extends Controller
|
||||
}
|
||||
}
|
||||
|
||||
public function getSiteConfigurations($config_item){
|
||||
$wrenchboard = new \App\Models\BackendModel();
|
||||
return $wrenchboard->cfgReadChar($config_item);
|
||||
}
|
||||
|
||||
|
||||
public function endPointList(){
|
||||
|
||||
$endpoints = [
|
||||
'apigate' => ['POST'],
|
||||
'generics' => ['POST'],
|
||||
'createuser' => ['POST'],
|
||||
'homebanners' => ['POST'],
|
||||
'verifysignuplink' => ['POST'],
|
||||
'completesignuplink' => ['POST'],
|
||||
'createmobileuser' => ['POST'],
|
||||
'completemobileuser' => ['POST'],
|
||||
'startresetpasword' => ['POST'],
|
||||
'stepresetpass' => ['POST'],
|
||||
'userlogin' => ['POST'],
|
||||
'authlogin' => ['POST'],
|
||||
'startjoblist' => ['POST'],
|
||||
'dashdata' => ['POST'],
|
||||
'getjobsdata' => ['POST'],
|
||||
'offerslist' => ['POST'],
|
||||
'offersresponse' => ['POST'],
|
||||
'activejoblist' => ['POST'],
|
||||
'loadprofile' => ['POST'],
|
||||
'updateprofile' => ['POST'],
|
||||
'account' => ['POST'],
|
||||
'message' => ['POST'],
|
||||
'pendingjob' => ['POST'],
|
||||
'paymenthx' => ['POST'],
|
||||
'purchasehx' => ['POST'],
|
||||
'getjob' => ['POST'],
|
||||
'mybanklist' => ['POST'],
|
||||
'countrybanks' =>['POST'],
|
||||
'sendmoney' => ['POST'],
|
||||
'sendinterest' => ['POST'],
|
||||
'waitinginterest' => ['POST'],
|
||||
'sendmoneyfee' => ['POST'],
|
||||
'getpendingjobs' => ['POST'],
|
||||
'taskmessage' => ['POST'],
|
||||
'sendtaskmessage' => ['POST'],
|
||||
'activejobmsglist' => ['POST'],
|
||||
'getwallets' => ['POST'],
|
||||
'sitecontact' => ['POST'],
|
||||
'signupcountry' => ['POST'],
|
||||
'userscards' => ['POST'],
|
||||
'blogdata' => ['POST'],
|
||||
'blogitem' => ['POST'],
|
||||
'couponhx' => ['POST'],
|
||||
'couponpending' => ['POST'],
|
||||
'couponredeem' => ['POST'],
|
||||
'sendinterestmessage' => ['POST'],
|
||||
'replyinterestmessage' => ['POST'],
|
||||
'disableaccount' => ['POST'],
|
||||
'myjobs' => ['POST'],
|
||||
'recipients' => ['POST'],
|
||||
'addrecipient' => ['POST'],
|
||||
'sendreferral' => ['POST'],
|
||||
'refferhx' => ['POST'],
|
||||
'accounttypes' => ['POST'],
|
||||
'jobmanageragree' => ['POST'],
|
||||
'jobmanagerlist' => ['POST'],
|
||||
'jobmanageroffers'=> ['POST'],
|
||||
'jobmanageractive'=> ['POST'],
|
||||
'jobmanagercreatejob'=> ['POST'],
|
||||
'jobmanagerupdatejob'=> ['POST'],
|
||||
'jobmanagerdeletejob'=> ['POST'],
|
||||
'activetaskslist' => ['POST'],
|
||||
'profilepasschange' => ['POST'],
|
||||
'starttopup' => ['POST'],
|
||||
'familylist' => ['POST'],
|
||||
'familyadd' => ['POST'],
|
||||
'familyupdate' => ['POST'],
|
||||
'familymanage' => ['POST'],
|
||||
'pendingjobextend' => ['POST'],
|
||||
'pendingjobsendtome' => ['POST'],
|
||||
'pendingjobcancel' => ['POST'],
|
||||
'assigntask' => ['POST'],
|
||||
'resources'=> ['POST'],
|
||||
'uploads'=> ['POST'],
|
||||
'marketmessage'=> ['POST'],
|
||||
'marketinterest'=> ['POST'],
|
||||
'activejobstatus'=> ['POST'],
|
||||
'activetaskstatus'=> ['POST'],
|
||||
'offersinterestlist' => ['POST'],
|
||||
'offersinterestproc' => ['POST'],
|
||||
'offerinterestmsg' => ['POST'],
|
||||
'offerinterestlistmsg' => ['POST'],
|
||||
'payprevcard' => ['POST'],
|
||||
'paynewcard' => ['POST'],
|
||||
'paylistcard' => ['POST'],
|
||||
'payremcard' => ['POST'],
|
||||
'mynotifications' => ['POST'],
|
||||
'familysampletasks' => ['POST'],
|
||||
'familysuggesttasks' => ['POST'],
|
||||
'familysuggestlist' => ['POST'],
|
||||
'familywaitingtasks' => ['POST'],
|
||||
];
|
||||
return $endpoints;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user