my page data
This commit is contained in:
@@ -236,6 +236,8 @@ abstract class BaseController extends Controller
|
||||
'confirmcredit' => ['POST'],
|
||||
'setaccsettings' => ['POST'],
|
||||
'getaccsettings' => ['POST'],
|
||||
'mypageload' => ['POST'],
|
||||
'mypageintro' => ['POST'],
|
||||
'dashrecent' => ['POST'],
|
||||
'myfiles' => ['POST'],
|
||||
'reqdel' => ['POST'],
|
||||
|
||||
@@ -45,6 +45,12 @@ class WrenchApi extends BaseController
|
||||
}
|
||||
private function prepareEndPointData($endpoint, $in, &$call_backend=true,&$local_out=[]){
|
||||
switch ($endpoint) {
|
||||
case 'mypageload':
|
||||
$in["action"] = WRENCHBOARD_ACCOUNT_MYPAGE;
|
||||
break;
|
||||
case 'mypageintro':
|
||||
$in["action"] = WRENCHBOARD_ACCOUNT_PAGEINTRO;
|
||||
break;
|
||||
case 'preferences':
|
||||
$in["action"] = WRENCHBOARD_ACCOUNT_PREFERENCES;
|
||||
//preferences // define('WRENCHBOARD_ACCOUNT_PREFERENCES', 11065);
|
||||
|
||||
Reference in New Issue
Block a user