diff --git a/Application/Home/Controller/ApiController.class.php b/Application/Home/Controller/ApiController.class.php index 9ad439a..a262259 100644 --- a/Application/Home/Controller/ApiController.class.php +++ b/Application/Home/Controller/ApiController.class.php @@ -167,7 +167,7 @@ class ApiController extends BaseController { if (!is_array($userInfo) || !isset($userInfo['passport_uid'])) { Response::error(ReturnCode::AUTH_ERROR, 'user-token不匹配'); } - C('USER_INFO', $userInfo); + ApiLog::setUserInfo($userInfo); } }