优化平台币设备,名称

master
chenzhi 5 years ago
parent 6c8f935170
commit 6f7e0de83d

@ -894,6 +894,9 @@ function clearGameNameType($game_name)
//设备名称词典
function getGameTypeName($id,$chinese=true)
{
if(!$id){
return '无';
}
$android = 'Android';
$ios = 'ios';
if($chinese){

@ -461,6 +461,10 @@ class FinancePromoteController extends AdminController
$value['sdk_version'] =getGameTypeName($value['sdk_version']);
if(!$value['game_name']) $value['game_name'] = "无";
//按类型判断pid
if($_REQUEST['promote_type'] == 2 && $_REQUEST['promote_id']){
$value['p_id'] = $_REQUEST['promote_id'];
}
}
if (isset($_REQUEST['export'])) {
@ -1013,6 +1017,7 @@ class FinancePromoteController extends AdminController
}
$_POST['promote_level'] = $level;
// }
// dd($map);
}

Loading…
Cancel
Save