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