cache contacts

This commit is contained in:
CHIEFSOFT\ameye
2023-12-06 12:00:01 -05:00
parent 1c873ab1dc
commit 5b899dbd30
3 changed files with 7 additions and 0 deletions
+2
View File
@@ -85,6 +85,8 @@ $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/cachecontacts', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/stepresetpass', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/starttopup', 'WrenchApi::apigate');
@@ -152,6 +152,7 @@ abstract class BaseController extends Controller
'account' => ['POST'],
'message' => ['POST'],
'jobmessage' => ['POST'],
'cachecontacts'=> ['POST'],
'pendingjob' => ['POST'],
'paymenthx' => ['POST'],
'purchasehx' => ['POST'],
+4
View File
@@ -19,6 +19,10 @@ class WrenchApi extends BaseController
}
private function prepareEndPointData($endpoint, $in, &$call_backend=true,&$local_out=[]){
switch ($endpoint) {
case 'cachecontacts':
log_message('critical', "************************ cachecontacts 0001 ".serialize($in));
break;
case 'myfiles':
$in["action"] = WRENCHBOARD_MYFILES_LIST;
break;