修复小程序门店有效期展示
This commit is contained in:
+1
-2
@@ -704,8 +704,7 @@ public class UserController {
|
||||
*/
|
||||
@GetMapping("/info")
|
||||
public Result<UserVO> getCurrentUserInfo(HttpServletRequest request) {
|
||||
Long userId = (Long) request.getAttribute("userId");
|
||||
UserVO userVO = userService.getUserById(userId);
|
||||
UserVO userVO = userService.getCurrentUserInfo();
|
||||
return Result.success(userVO);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user