更新版本
This commit is contained in:
parent
fba8e28ca9
commit
36f3e5fc78
@ -1341,11 +1341,11 @@ class Auth extends BaseController
|
||||
foreach($brandArray as $b) {
|
||||
$pos = stripos($phoneBrand, $b);
|
||||
if ($pos !== false) {
|
||||
$queryBuilder = $queryBuilder->where('phone_brand', $phoneBrand);
|
||||
$queryBuilder = $queryBuilder->where('phone_brand', $b);
|
||||
}
|
||||
}
|
||||
}
|
||||
$appInfo = ($queryBuilder->order('id', 'desc')->find()) ?? (object)[];
|
||||
$appInfo = ($queryBuilder->order('id', 'desc')->fetchSql(false)->find()) ?? (object)[];
|
||||
}
|
||||
|
||||
return app('json')->success(compact('appInfo'));
|
||||
|
Loading…
x
Reference in New Issue
Block a user