update app/common/library/Auth.php.

由于php8的强类型原因,造成isLogin()报类型错误的问题

Signed-off-by: mhgj2004 <mhgj2004@163.com>
This commit is contained in:
mhgj2004
2023-02-01 10:37:36 +00:00
committed by Gitee
parent 445e5f9662
commit 5ec34deb57

View File

@@ -35,7 +35,7 @@ class Auth
/**
* 用户ID
*/
public int $user_id = 0;
public mixed $user_id = 0;
/**
* 用户数据