interest processing

This commit is contained in:
CHIEFSOFT\ameye
2023-06-16 15:26:00 -04:00
parent eb7102f262
commit ee27193bec
3 changed files with 9 additions and 0 deletions
+4
View File
@@ -107,12 +107,16 @@ class WrenchApi extends BaseController
'activejobstatus'=> ['POST'],
'activetaskstatus'=> ['POST'],
'offersinterestlist' => ['POST'],
'offersinterestproc' => ['POST'],
];
return $endpoints;
}
private function prepareEndPointData($endpoint, $in, &$call_backend=true,&$local_out=[]){
switch ($endpoint) {
case 'offersinterestproc':
$in["action"] = WRENCHBOARD_JOB_PROC_INTEREST;
break;
case 'offersinterestlist':
$in["action"] = WRENCHBOARD_JOB_OFFER_INTLIST;
break;