修改请求Agent信息获取

This commit is contained in:
Anyon 2020-07-13 17:29:50 +08:00
parent 7f579f9b44
commit 5183052cde

View File

@ -66,7 +66,7 @@ class MemberService extends Service
*/
protected function buildTokenVerify(): string
{
return md5($this->app->request->server('user-agent', '-'));
return md5($this->app->request->server('HTTP_USER_AGENT', '-'));
}
/**