修复小程序门店有效期展示

This commit is contained in:
2026-10-27 16:59:27 +08:00
parent cf789b90b2
commit ba118c514a
4 changed files with 87 additions and 4 deletions
@@ -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);
}