my page data
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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'],
|
||||
|
||||
@@ -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