diff --git a/Application/Home/Controller/PromoteController.class.php b/Application/Home/Controller/PromoteController.class.php index b3d44c9ff..d4774857b 100644 --- a/Application/Home/Controller/PromoteController.class.php +++ b/Application/Home/Controller/PromoteController.class.php @@ -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';