diff --git a/module/user/model.php b/module/user/model.php index f4e7f1d047..772ec49382 100644 --- a/module/user/model.php +++ b/module/user/model.php @@ -965,12 +965,13 @@ class userModel extends model } /** + * 根据 Cookie 验证用户。 * Identify user by cookie. * * @access public * @return bool */ - public function identifyByCookie() + public function identifyByCookie(): bool { $account = $this->cookie->za; $authHash = $this->cookie->zp;