Jiob group

This commit is contained in:
CHIEFSOFT\ameye
2023-12-09 09:42:27 -05:00
parent 232e1c3ce2
commit 20d20843d8
3 changed files with 10 additions and 0 deletions
+2
View File
@@ -101,6 +101,8 @@ $routes->post('/en/wrench/api/v1/jobmanageractive', 'WrenchApi::apigate')
$routes->post('/en/wrench/api/v1/jobmanagercreatejob', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/jobmanagerupdatejob', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/jobmanagerdeletejob', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/jobgrouplist', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/jobgroupadd', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/activetaskslist', 'WrenchApi::apigate');
@@ -192,6 +192,8 @@ abstract class BaseController extends Controller
'jobmanagercreatejob'=> ['POST'],
'jobmanagerupdatejob'=> ['POST'],
'jobmanagerdeletejob'=> ['POST'],
'jobgrouplist'=> ['POST'],
'jobgroupadd'=> ['POST'],
'activetaskslist' => ['POST'],
'profilepasschange' => ['POST'],
'starttopup' => ['POST'],
+6
View File
@@ -211,6 +211,12 @@ class WrenchApi extends BaseController
case 'jobmanagerlist':
$in["action"] = WRENCHBOARD_JOB_LISTJOBS;
break;
case 'jobgrouplist':
$in["action"] = 0;
break;
case 'jobgroupadd':
$in["action"] = 0;
break;
case 'homebanners':
$in["action"] = WRENCHBOARD_ACCOUNT_HOMEBANNERS ;
break;