作者 sgj
1 个管道 的构建 失败 耗费 11 秒

提交信息修改

... ... @@ -92,6 +92,7 @@ class PublicController extends AdminBaseController
->join('__ROLE__ b', 'a.role_id =b.id')
->where(["user_id" => $result["id"], "status" => 1])
->value("role_id");
dump($groups);
if ($result["id"] != 1 && (empty($groups) || empty($result['user_status']))) {
$this->error(lang('USE_DISABLED'));
}
... ... @@ -124,4 +125,4 @@ class PublicController extends AdminBaseController
session('ADMIN_ID', null);
return redirect(url('/', [], false, true));
}
}
\ No newline at end of file
}
... ...