@@ -21,7 +21,7 @@ class User extends UserModel
if (!$user = $this->where($where)->with(['app'])->find()) {
return false;
}
- var_dump($user);
+
if (empty($user['app'])) {
$this->error = '登录失败, 未找到应用信息';