|
|
|
@ -201,16 +201,12 @@ class GameController extends BaseController{
|
|
|
|
|
}
|
|
|
|
|
// var_dump($isUSIP);
|
|
|
|
|
//判断是否开启苹果内购,beta包,美国ip,且是否在白名单当中
|
|
|
|
|
if (!getAppleInteriorBuyStatus()) {
|
|
|
|
|
if (isset($data['app_type']) && $data['app_type'] == 2 && $isUSIP) {
|
|
|
|
|
if (isset($data['app_type']) && $data['app_type'] == 2 && $isUSIP) {
|
|
|
|
|
|
|
|
|
|
if (!getIpForbitWhiteList($data['user_id'])) {
|
|
|
|
|
if ($v['name'] == 'gift' || $v['name'] == 'suppersign') {
|
|
|
|
|
unset($menus[$k]);
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|
if ($v['name'] == 'gift' || $v['name'] == 'suppersign') {
|
|
|
|
|
unset($menus[$k]);
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//测试账号苹果审核
|
|
|
|
@ -273,15 +269,10 @@ class GameController extends BaseController{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!getAppleInteriorBuyStatus()) {
|
|
|
|
|
if (isset($data['app_type']) && $data['app_type'] == 2 && $isUSIP) {
|
|
|
|
|
|
|
|
|
|
if (!getIpForbitWhiteList($data['user_id'])) {
|
|
|
|
|
if ($v['name'] == 'gift' || $v['name'] == 'balance') {
|
|
|
|
|
unset($personalMenu[$k]);
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (isset($data['app_type']) && $data['app_type'] == 2 && $isUSIP) {
|
|
|
|
|
if ($v['name'] == 'gift' || $v['name'] == 'balance') {
|
|
|
|
|
unset($personalMenu[$k]);
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|