zouxuan 3 anni fa
parent
commit
7b639df687

+ 0 - 10
mec-biz/src/main/java/com/ym/mec/biz/dal/dto/BuyDoubleEleven2021Dto.java

@@ -25,8 +25,6 @@ public class BuyDoubleEleven2021Dto {
     @ApiModelProperty(value = "优惠券列表", required = false)
     private List<Integer> couponIdList;
 
-    private BigDecimal amount;
-
     private Integer organId;
 
     private Integer userId;
@@ -47,14 +45,6 @@ public class BuyDoubleEleven2021Dto {
         this.organId = organId;
     }
 
-    public BigDecimal getAmount() {
-        return amount;
-    }
-
-    public void setAmount(BigDecimal amount) {
-        this.amount = amount;
-    }
-
     public List<Integer> getCouponIdList() {
         return couponIdList;
     }

+ 0 - 3
mec-biz/src/main/java/com/ym/mec/biz/service/impl/PracticeGroupServiceImpl.java

@@ -5648,9 +5648,6 @@ public class PracticeGroupServiceImpl extends BaseServiceImpl<Long, PracticeGrou
         //计算订单金额
         StudentPaymentOrder studentPaymentOrder = sysCouponCodeService.use(buyDoubleEleven2021Dto.getCouponIdList(), activityFee, true);
         activityFee = studentPaymentOrder.getActualAmount();
-        if(buyDoubleEleven2021Dto.getAmount().compareTo(activityFee) != 0){
-            throw new BizException("非法访问");
-        }
 
         String channelType = "";
         Date nowDate = new Date();