diff --git a/cweb/src/main/java/com/cweb/controller/discount/DiscountController.java b/cweb/src/main/java/com/cweb/controller/discount/DiscountController.java index d64e310..9cfd812 100644 --- a/cweb/src/main/java/com/cweb/controller/discount/DiscountController.java +++ b/cweb/src/main/java/com/cweb/controller/discount/DiscountController.java @@ -82,7 +82,6 @@ public class DiscountController { // 用户session UserSessionObject userSession = userCenter.getSessionModel(UserSessionObject.class); - Map map = new HashMap<>(); map.put("userId", userSession.getUser().getId()); diff --git a/order/src/main/java/com/order/controller/business/BsOrderGoodsController.java b/order/src/main/java/com/order/controller/business/BsOrderGoodsController.java index c7a1d42..e13deae 100644 --- a/order/src/main/java/com/order/controller/business/BsOrderGoodsController.java +++ b/order/src/main/java/com/order/controller/business/BsOrderGoodsController.java @@ -126,10 +126,11 @@ public class BsOrderGoodsController { if (goodsOrder.getStatus() == OrderGoodsStatusEnum.status1.getCode()) { goodsOrder.setStatus(OrderGoodsStatusEnum.status2.getCode()); } + // 删除缓存 orderService.cacheDelete(goodsOrder.getOrderNo()); bsOrderGoodsService.cacheDelete(goodsOrder.getId()); - + bsOrderGoodsService.getLogisticsMsg(goodsOrder.getId()); bsOrderGoodsService.update(goodsOrder); return ResponseMsgUtil.success("更新成功!");