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
@@ -88,6 +88,7 @@ $endpoints = array(
'activetaskstatus'=> array('POST'),
'offersinterestlist' => array('POST'),
'faq' => array('POST'),
'offersinterestproc' => array('POST'),
);
$call_backend = true; // sometimes we need to overwite the call to the extenstion API
@@ -179,6 +180,9 @@ if ($_SERVER["REQUEST_METHOD"] == "GET") {
}
$in["loc"] = $_SERVER["REMOTE_ADDR"];
switch ($endpoint) {
case 'offersinterestproc':
$in["action"] = WRENCHBOARD_JOB_PROC_INTEREST;
break;
case 'faq':
$local_out = faqData();
$call_backend = false;