mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
修改请求Agent信息获取
This commit is contained in:
parent
7f579f9b44
commit
5183052cde
@ -66,7 +66,7 @@ class MemberService extends Service
|
|||||||
*/
|
*/
|
||||||
protected function buildTokenVerify(): string
|
protected function buildTokenVerify(): string
|
||||||
{
|
{
|
||||||
return md5($this->app->request->server('user-agent', '-'));
|
return md5($this->app->request->server('HTTP_USER_AGENT', '-'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user