master
袁野 6 months ago
parent 4fc1a8e2f5
commit f704ab1bfe
  1. 1
      cweb/src/main/java/com/cweb/controller/discount/DiscountController.java
  2. 3
      order/src/main/java/com/order/controller/business/BsOrderGoodsController.java

@ -82,7 +82,6 @@ public class DiscountController {
// 用户session
UserSessionObject userSession = userCenter.getSessionModel(UserSessionObject.class);
Map<String, Object> map = new HashMap<>();
map.put("userId", userSession.getUser().getId());

@ -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("更新成功!");

Loading…
Cancel
Save