From e366e6f14b60898b73c83970af4157b5629571a0 Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Mon, 11 Sep 2023 16:04:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0app=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/api/Auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controller/api/Auth.php b/app/controller/api/Auth.php index a59a4d40..ec48c44d 100644 --- a/app/controller/api/Auth.php +++ b/app/controller/api/Auth.php @@ -1318,7 +1318,7 @@ class Auth extends BaseController $android = (Db::name('AppUpdate')->where('type', 1)->where('phone_brand','')->order('id', 'desc')->find()) ?? (object)[]; $ios = (Db::name('AppUpdate')->where('type', 2)->where('phone_brand','')->order('id', 'desc')->find()) ?? (object)[]; return app('json')->success(compact('android', 'ios')); - }else{ + } else { if ($version) { $queryBuilder = $queryBuilder->where('version', '>', $version); }