diff --git a/hai-cweb/src/main/java/com/cweb/controller/HighCouponController.java b/hai-cweb/src/main/java/com/cweb/controller/HighCouponController.java index 6e4c66c0..7fa24690 100644 --- a/hai-cweb/src/main/java/com/cweb/controller/HighCouponController.java +++ b/hai-cweb/src/main/java/com/cweb/controller/HighCouponController.java @@ -113,12 +113,11 @@ public class HighCouponController { try { // 用户 -// SessionObject sessionObject = userCenter.getSessionObject(request); -// HighUserModel userInfoModel = (HighUserModel) sessionObject.getObject(); + SessionObject sessionObject = userCenter.getSessionObject(request); + HighUserModel userInfoModel = (HighUserModel) sessionObject.getObject(); Map map = new HashMap<>(); -// map.put("userId", userInfoModel.getHighUser().getId()); - map.put("userId", 24); + map.put("userId", userInfoModel.getHighUser().getId()); map.put("status", status); PageHelper.startPage(pageNum, pageSize);