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/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'],
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user