cache contacts
This commit is contained in:
@@ -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/paymenthx', 'WrenchApi::apigate');
|
||||||
$routes->post('/en/wrench/api/v1/purchasehx', '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/stepresetpass', 'WrenchApi::apigate');
|
||||||
$routes->post('/en/wrench/api/v1/starttopup', 'WrenchApi::apigate');
|
$routes->post('/en/wrench/api/v1/starttopup', 'WrenchApi::apigate');
|
||||||
|
|||||||
@@ -152,6 +152,7 @@ abstract class BaseController extends Controller
|
|||||||
'account' => ['POST'],
|
'account' => ['POST'],
|
||||||
'message' => ['POST'],
|
'message' => ['POST'],
|
||||||
'jobmessage' => ['POST'],
|
'jobmessage' => ['POST'],
|
||||||
|
'cachecontacts'=> ['POST'],
|
||||||
'pendingjob' => ['POST'],
|
'pendingjob' => ['POST'],
|
||||||
'paymenthx' => ['POST'],
|
'paymenthx' => ['POST'],
|
||||||
'purchasehx' => ['POST'],
|
'purchasehx' => ['POST'],
|
||||||
|
|||||||
@@ -19,6 +19,10 @@ class WrenchApi extends BaseController
|
|||||||
}
|
}
|
||||||
private function prepareEndPointData($endpoint, $in, &$call_backend=true,&$local_out=[]){
|
private function prepareEndPointData($endpoint, $in, &$call_backend=true,&$local_out=[]){
|
||||||
switch ($endpoint) {
|
switch ($endpoint) {
|
||||||
|
case 'cachecontacts':
|
||||||
|
log_message('critical', "************************ cachecontacts 0001 ".serialize($in));
|
||||||
|
|
||||||
|
break;
|
||||||
case 'myfiles':
|
case 'myfiles':
|
||||||
$in["action"] = WRENCHBOARD_MYFILES_LIST;
|
$in["action"] = WRENCHBOARD_MYFILES_LIST;
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user