Start topup
This commit is contained in:
@@ -80,12 +80,16 @@ class WrenchApi extends BaseController
|
||||
'accounttypes' => ['POST'],
|
||||
'jobmanagerlist' => ['POST'],
|
||||
'profilepasschange' => ['POST'],
|
||||
'starttopup' => ['POST'],
|
||||
];
|
||||
return $endpoints;
|
||||
}
|
||||
|
||||
private function prepareEndPointData($endpoint, $in, &$call_backend=true,&$local_out=[]){
|
||||
switch ($endpoint) {
|
||||
case 'starttopup':
|
||||
$in["action"] = WRENCHBOARD_ACCOUNT_PREPARE_TOPUP;
|
||||
break;
|
||||
case 'profilepasschange':
|
||||
$in["action"] = WRENCHBOARD_PROFILE_RESETPASS;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user