my page data

This commit is contained in:
CHIEFSOFT\ameye
2024-01-07 17:09:29 -05:00
parent 8038e54365
commit 6dd02d77ea
4 changed files with 13 additions and 0 deletions
@@ -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'],
+6
View File
@@ -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);