|
|
@ -194,7 +194,7 @@ class GameController extends BaseController{
|
|
|
|
unset($menus[$k]);
|
|
|
|
unset($menus[$k]);
|
|
|
|
}elseif($data['sdk_version'] != 1 && $v['name'] == 'suppersign'){
|
|
|
|
}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]['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'] . '.html?action=openurl';
|
|
|
|
$menus[$k]['ios_url'] = $v['ios_url'] . '/user_token/' . $user['user_token'] . '/user_id/' . $data['user_id'] . '/game_id/' . $data['game_id'] . '.html?action=openurl';
|
|
|
|
}elseif($v['name'] == 'balance'){
|
|
|
|
}elseif($v['name'] == 'balance'){
|
|
|
|
$str = urlencode("余额");
|
|
|
|
$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;
|
|
|
|
$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;
|
|
|
@ -231,7 +231,7 @@ class GameController extends BaseController{
|
|
|
|
unset($personalMenu[$k]);
|
|
|
|
unset($personalMenu[$k]);
|
|
|
|
}elseif($data['sdk_version'] != 1 && $v['name'] == 'suppersign'){
|
|
|
|
}elseif($data['sdk_version'] != 1 && $v['name'] == 'suppersign'){
|
|
|
|
// $personalMenu[$k]['url'] = C('H5_DOMAIN') . $v['url'] . 'user_token/' . $user['user_token'];
|
|
|
|
// $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'] . '.html?action=openurl';
|
|
|
|
$personalMenu[$k]['ios_url'] = $$v['ios_url'] . '/user_token/' . $user['user_token'] . '/user_id/' . $data['user_id'] . '/game_id/' . $data['game_id'] . '.html?action=openurl';
|
|
|
|
}elseif($v['name'] == 'balance'){
|
|
|
|
}elseif($v['name'] == 'balance'){
|
|
|
|
$str = urlencode("余额");
|
|
|
|
$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;
|
|
|
|
$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;
|
|
|
|