更新wget操作
This commit is contained in:
parent
d787726c86
commit
6b85dd45fd
@ -1557,7 +1557,7 @@ class Auth extends BaseController
|
||||
// $phoneBrand = $this->request->param('phone_brand', '');
|
||||
// $queryBuilder = Db::name('AppUpdate')->where('type', $type);
|
||||
if ($type == 3) {
|
||||
$android = (Db::name('AppUpdate')->where('type', 1)->where('phone_brand', '')->order('id', 'desc')->find()) ?? (object)[];
|
||||
$android = (Db::name('AppUpdate')->where('type', 1)->where('phone_brand', '')->where('is_wget',0)->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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user