interest list

This commit is contained in:
CHIEFSOFT\ameye
2023-06-13 11:48:18 -04:00
parent a14bc7cacb
commit e7876578da
9 changed files with 119 additions and 15 deletions
+1
View File
@@ -146,6 +146,7 @@ define('WRENCHBOARD_JOB_DELETE_GROUPMEMBER',13017);
define('WRENCHBOARD_JOB_CREATE_GROUP', 13020);
define('WRENCHBOARD_JOB_DELETE_GROUP',13023);
define('WRENCHBOARD_JOB_OFFER_INTLIST', 13024); // offers interest list
define('WRENCHBOARD_JOB_OFFER_SYSTEM', 13025);
define('WRENCHBOARD_JOB_OFFER_FAMILY', 13029);
define('WRENCHBOARD_JOB_OFFER_INDVI',13030);
+4
View File
@@ -86,6 +86,7 @@ $endpoints = array(
'marketinterest'=> array('POST'),
'activejobstatus'=> array('POST'),
'activetaskstatus'=> array('POST'),
'offersinterestlist' => array('POST'),
);
$call_backend = true; // sometimes we need to overwite the call to the extenstion API
@@ -177,6 +178,9 @@ if ($_SERVER["REQUEST_METHOD"] == "GET") {
}
$in["loc"] = $_SERVER["REMOTE_ADDR"];
switch ($endpoint) {
case 'offersinterestlist':
$in["action"] = WRENCHBOARD_JOB_OFFER_INTLIST;
break;
case 'activejobstatus':
case 'activetaskstatus':
$in = processJobStatus($in);