Parcourir la source

fix 修改平台分销去除实物限制

zoujiajian il y a 3 ans
Parent
commit
768cab812a

+ 1 - 1
netflix-web/src/main/java/com/cyksj/web/controller/manage/distribute/DistributeController.java

@@ -199,7 +199,7 @@ public class DistributeController {
 				throw new BusinessRuntimeException("比例错误");
 			}
 			GoodsDon goodsDon = goodsDonMapper.selectById(rate.getGoodsId());
-			if (goodsDon == null || goodsDon.getType() == 2) {
+			if (goodsDon == null || goodsDon.getType() == 3) {
 				throw new BusinessRuntimeException("平台错误");
 			}
 			goodsDon.setRate(rate.getRate());