mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-04-06 03:58:00 +08:00
modified 新增用户信息Log记录
This commit is contained in:
parent
3c98e6a3f3
commit
0bc5b202f6
@ -167,7 +167,7 @@ class ApiController extends BaseController {
|
|||||||
if (!is_array($userInfo) || !isset($userInfo['passport_uid'])) {
|
if (!is_array($userInfo) || !isset($userInfo['passport_uid'])) {
|
||||||
Response::error(ReturnCode::AUTH_ERROR, 'user-token不匹配');
|
Response::error(ReturnCode::AUTH_ERROR, 'user-token不匹配');
|
||||||
}
|
}
|
||||||
C('USER_INFO', $userInfo);
|
ApiLog::setUserInfo($userInfo);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user