|
|
|
@ -191,7 +191,7 @@ class GameController extends BaseController{
|
|
|
|
|
unset($menus[$k]);
|
|
|
|
|
}elseif($data['sdk_version'] != 1 && $v['name'] == 'suppersign'){
|
|
|
|
|
// $menus[$k]['url'] = $v['url'] . '/user_token/' . $user['user_token'] . "/game_id/". $data['game_id'];
|
|
|
|
|
$menus[$k]['ios_url'] = $v['ios_url'] . '/user_token/' . $user['user_token'] . "/game_id/". $data['game_id'];
|
|
|
|
|
$menus[$k]['ios_url'] = $v['ios_url'] . '/user_token/' . $user['user_token'] . '.html?action=openurl';
|
|
|
|
|
}elseif($v['name'] == 'balance'){
|
|
|
|
|
$str = urlencode("余额");
|
|
|
|
|
$menus[$k]['ios_url'] = C('H5_DOMAIN') . $v['ios_url'] . '/user_token/' . $user['user_token']."/game_id/".$data['game_id'].'/sdk_version/'.$data['sdk_version'].'/api_ver/2' . '?action=pay&nav_title=' . $str;
|
|
|
|
@ -228,7 +228,7 @@ class GameController extends BaseController{
|
|
|
|
|
unset($personalMenu[$k]);
|
|
|
|
|
}elseif($data['sdk_version'] != 1 && $v['name'] == 'suppersign'){
|
|
|
|
|
// $personalMenu[$k]['url'] = C('H5_DOMAIN') . $v['url'] . 'user_token/' . $user['user_token'];
|
|
|
|
|
$personalMenu[$k]['ios_url'] = $v['ios_url'] . '/user_token/' . $user['user_token'] . "/game_id/".$data['game_id'];
|
|
|
|
|
$personalMenu[$k]['ios_url'] = $v['ios_url'] . '/user_token/' . $user['user_token'] . '.html?action=openurl';
|
|
|
|
|
}elseif($v['name'] == 'balance'){
|
|
|
|
|
$str = urlencode("余额");
|
|
|
|
|
$personalMenu[$k]['ios_url'] = C('H5_DOMAIN') . $v['ios_url'] . '/user_token/' . $user['user_token']."/game_id/".$data['game_id'].'/sdk_version/'.$data['sdk_version'].'/api_ver/2' . '?action=pay&nav_title=' . $str;
|
|
|
|
|