From 91b773d9744689af848dd995be24a1579c90ade8 Mon Sep 17 00:00:00 2001 From: zyx Date: Tue, 22 Oct 2019 10:20:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E6=9C=8D=E4=BF=A1=E6=81=AF=EF=BC=8C?= =?UTF-8?q?=E5=B9=B3=E5=8F=B0=E6=98=BE=E7=A4=BA=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Home/Controller/PromoteController.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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';