And point added

This commit is contained in:
DESKTOP-GBA0BK8\Admin
2023-04-22 07:54:50 -04:00
parent 849d3ebb10
commit 94d6cd659a
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -57,6 +57,7 @@ $routes->post('/en/wrench/api/v1/account', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/message', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/pendingjob', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/paymenthx', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/purchasehx', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/getjob', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/mybanklist', 'WrenchApi::apigate');
+3
View File
@@ -46,6 +46,7 @@ class WrenchApi extends BaseController
'message' => ['POST'],
'pendingjob' => ['POST'],
'paymenthx' => ['POST'],
'purchasehx' => ['POST'],
'getjob' => ['POST'],
'mybanklist' => ['POST'],
'sendmoney' => ['POST'],
@@ -204,6 +205,8 @@ class WrenchApi extends BaseController
break;
case 'paymenthx': $in["action"] = WRENCHBOARD_MOBILE_PAYMENTHX;
break;
case 'purchasehx': $in["action"] = WRENCHBOARD_MOBILE_PURCHASEHX;
break;
case 'getjobsdata': $in["action"] = WRENCHBOARD_ACCOUNT_JOBLIST;
break;