mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-05-22 06:49:15 +08:00
Update Auth.php
This commit is contained in:
parent
0831b38958
commit
e45d5843c6
@ -51,7 +51,7 @@ abstract class Auth extends Controller
|
||||
if (empty($this->type)) {
|
||||
$this->error("未获取到接口类型字段!");
|
||||
}
|
||||
if (isset(UserAdminService::TYPES[$this->type])) {
|
||||
if (!isset(UserAdminService::TYPES[$this->type])) {
|
||||
$this->error("接口类型[{$this->type}]未定义!");
|
||||
}
|
||||
// 获取用户数据
|
||||
|
Loading…
x
Reference in New Issue
Block a user