diff --git a/Application/Sdk/Controller/BaseController.class.php b/Application/Sdk/Controller/BaseController.class.php index 155db676..73f45eaa 100644 --- a/Application/Sdk/Controller/BaseController.class.php +++ b/Application/Sdk/Controller/BaseController.class.php @@ -10,7 +10,7 @@ class BaseController extends RestController{ 'Apple.apple_platform_pay','Spend.notice','Apple.apple_union_pay','WapPay.wap_shortcut_pay', 'WapPay.shortcut_pay','WapPay.android_shortcut_pay','WapPay.wap_shortcut_pay','WapPay.wap_shortcut_pay', 'Apple.apple_weixin_pay','Ipa365','User.user_login','platform_coin_deduction','test','get_user_money', - 'file_pay','pay','GameGiftPage','UserH5', + 'file_pay','pay','GameGiftPage','UserH','Game.get_suspend' ]; // 不需要验证TOKEN的接口 protected $noNeedToken = [ diff --git a/Application/Sdk/Controller/GameController.class.php b/Application/Sdk/Controller/GameController.class.php index 5a72e7b6..9026be89 100644 --- a/Application/Sdk/Controller/GameController.class.php +++ b/Application/Sdk/Controller/GameController.class.php @@ -80,15 +80,6 @@ class GameController extends BaseController{ unset($v); } } - - foreach($menus_item as $k => $v) { - $menus_item[$k]['icon'] = C('ADMIN_DOMAIN') . $v['icon']; - $menus_item[$k]['url'] = $v['url'] . '/user_token/' . $user_token; - if ($menus_item[$k]['type'] == 1) - $menus_item[$k]['ios_url'] = "?action=".$menus_item[$k]['name']; - else - $menus_item[$k]['ios_url'] = $menus_item[$k]['url']."?action=push"; - } array_multisort(array_column($menus,'sort'),SORT_ASC,$menus); array_multisort(array_column($personalMenu,'sort'),SORT_ASC,$personalMenu); diff --git a/Application/Sdk/Controller/UserHController.class.php b/Application/Sdk/Controller/UserHController.class.php index 5feb564e..c70946b6 100644 --- a/Application/Sdk/Controller/UserHController.class.php +++ b/Application/Sdk/Controller/UserHController.class.php @@ -13,7 +13,7 @@ class UserHController extends BaseController */ public function get_user_money() { - $data = json_decode(base64_decode(file_get_contents("php://input"),true)); + $data = json_decode(base64_decode(file_get_contents("php://input")), true); $user_info = M('user','tab_')->where(['user_token' => $data['user_token']])->field('id,account,balance')->find(); $user_play = M('user_play','tab_')->alias('user') @@ -41,7 +41,7 @@ class UserHController extends BaseController $this->assign('balance',$user_info['balance']); $this->assign('deposit',$deposit); $this->assign('user_play',$user_play); - $this->display('balance'); + $this->display(); } diff --git a/Application/Sdk/View/default/UserH/balance.html b/Application/Sdk/View/default/UserH/get_user_money.html similarity index 100% rename from Application/Sdk/View/default/UserH/balance.html rename to Application/Sdk/View/default/UserH/get_user_money.html