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
+3
View File
@@ -258,6 +258,9 @@ define('WRENCHBOARD_ACCOUNT_REFFERHX', 11064);
define('WRENCHBOARD_ACCOUNT_PREFERENCES', 11065);
define('WRENCHBOARD_ACCOUNT_MYPAGE', 11070);
define('WRENCHBOARD_ACCOUNT_PAGEINTRO', 11071);
define('WRENCHBOARD_ACCOUNT_PRICE_COMBO', 11171);
define('WRENCHBOARD_ACCOUNT_JOBPOST_DURATION', 11173);
define('WRENCHBOARD_ACCOUNT_USER_RECIPEINT', 11175);
+2
View File
@@ -108,6 +108,8 @@ $routes->post('/en/wrench/api/v1/groupmemberdel', 'WrenchApi::apigate'
$routes->post('/en/wrench/api/v1/activetaskslist', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/mypageload', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/mypageintro', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/familylist', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/familywallet', 'WrenchApi::apigate');
@@ -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);