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); }