开服信息,平台显示修正

master
zyx 5 years ago
parent 7e27d35a97
commit 91b773d974

@ -270,9 +270,9 @@ class PromoteController extends BaseController
//$count = M("server", "tab_")->where($map)->count();
foreach ($open_server_list as $key => $server) {
$open_server_list[$key]['icon'] = get_cover($server['icon'], 'path');
if ($server['pay_type'] == 1) {
if ($server['server_version'] == 1) {
$open_server_list[$key]['pay_type'] = '安卓';
} elseif ($server['pay_type'] == 1) {
} elseif ($server['server_version'] == 2) {
$open_server_list[$key]['pay_type'] = 'iOS';
} else {
$open_server_list[$key]['pay_type'] = '安卓、iOS';

Loading…
Cancel
Save