modified 新增用户信息Log记录

This commit is contained in:
zhaoxiang 2017-05-10 14:15:44 +08:00
parent 3c98e6a3f3
commit 0bc5b202f6

View File

@ -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);
} }
} }