WRENCHBOARD_JOB_JOBFILES

This commit is contained in:
CHIEFSOFT\ameye
2024-04-14 10:43:48 -04:00
parent 76f9164bf6
commit 970c494db1
5 changed files with 9 additions and 0 deletions
@@ -297,6 +297,7 @@ enum { PARTNER_STRIPE };
#define WRENCHBOARD_JOB_CREATEJOB 13010
#define WRENCHBOARD_JOB_DELETEJOB 13011
#define WRENCHBOARD_JOB_JOBFILES 13012
#define WRENCHBOARD_JOB_GROUP_MEMBER 13015
#define WRENCHBOARD_JOB_DELETE_GROUPMEMBER 13017
+3
View File
@@ -47,6 +47,9 @@ long jobs_calls(CVars in, CVars &out) {
case WRENCHBOARD_JOB_LISTJOBS:
return WrenchJobManagerList(in, out);
break;
case WRENCHBOARD_JOB_JOBFILES:
logfmt(logINFO, "jobs_calls() ~~WRENCHBOARD_JOB_JOBFILES~~ action=%lu",action);
break;
case WRENCHBOARD_JOB_OFFERS:
return WrenchJobManagerOffers(in, out);
break;
+1
View File
@@ -97,6 +97,7 @@ $routes->post('/en/wrench/api/v1/preferences', 'WrenchApi::apigate')
$routes->post('/en/wrench/api/v1/jobmanageragree', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/jobmanagerlist', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/jobmanagerfiles', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/jobmanageroffers', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/jobmanageractive', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/jobmanagercreatejob', 'WrenchApi::apigate');
+3
View File
@@ -242,6 +242,9 @@ class WrenchApi extends BaseController
case 'jobmanagerlist':
$in["action"] = WRENCHBOARD_JOB_LISTJOBS;
break;
case 'jobmanagerfiles':
$in["action"] = WRENCHBOARD_JOB_JOBFILES;
break;
case 'jobgrouplist':
$in["action"] = WRENCHBOARD_JOB_JOBGROUPS;
// $in["action"] = 0;
+1
View File
@@ -146,6 +146,7 @@ define('WRENCHBOARD_JOB_USERACTIVE',13009);
define('WRENCHBOARD_JOB_CREATEJOB',13010 );
define('WRENCHBOARD_JOB_DELETEJOB',13011 );
define('WRENCHBOARD_JOB_JOBFILES', 13012 );
define('WRENCHBOARD_JOB_GROUP_MEMBER', 13015) ;
define('WRENCHBOARD_JOB_DELETE_GROUPMEMBER',13017);