zoujiajian 2 jaren geleden
bovenliggende
commit
47e070a9eb

+ 3 - 3
netflix-service/src/main/java/com/cyksj/service/mange/goods/CmsYhShopCommonServiceImpl.java

@@ -190,9 +190,9 @@ public class CmsYhShopCommonServiceImpl implements CmsYhShopCommonService {
 			log.info("店铺提现审核失败,归还店铺申请提现金额:{}至用户{}结束", distributeMoneyApply.getMoney().divide(BigDecimal.valueOf(100)), userId);
 		}
 		if (YhShopDistributeMoneyApply.Status.success.name().equals(distributeApplyMoneyReq.getVerifyStatus())) {
-			if (StrUtil.isBlank(distributeApplyMoneyReq.getImg())) {
-				throw BusinessRuntimeException.getInstance("审核成功时,打款图片不存在");
-			}
+//			if (StrUtil.isBlank(distributeApplyMoneyReq.getImg())) {
+//				throw BusinessRuntimeException.getInstance("审核成功时,打款图片不存在");
+//			}
 			distributeMoneyApply.setImg(distributeApplyMoneyReq.getImg());
 		}
 		yhShopDistributeMoneyApplyMapper.updateById(distributeMoneyApply);

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

@@ -493,9 +493,9 @@ public class DistributeController {
 			log.info("归还积分:{}至用户{}结束", distributeMoneyApply.getPoints(), userId);
 		}
 		if (DistributeMoneyApply.Status.success.name().equals(distributeApplyMoneyReq.getVerifyStatus())) {
-			if (StrUtil.isBlank(distributeApplyMoneyReq.getImg())) {
-				throw BusinessRuntimeException.getInstance("审核成功时,打款图片不存在");
-			}
+//			if (StrUtil.isBlank(distributeApplyMoneyReq.getImg())) {
+//				throw BusinessRuntimeException.getInstance("审核成功时,打款图片不存在");
+//			}
 			distributeMoneyApply.setImg(distributeApplyMoneyReq.getImg());
 		}
 		distributeMoneyApplyMapper.updateById(distributeMoneyApply);
@@ -516,9 +516,9 @@ public class DistributeController {
 		if (entity == null || entity.getVerifyStatus() != DistributeMoneyApply.Status.success) {
 			throw BusinessRuntimeException.getInstance("审核记录错误");
 		}
-		if (StrUtil.isBlank(distributeApplyMoneyReq.getImg())) {
-			throw BusinessRuntimeException.getInstance("打款截图为空");
-		}
+//		if (StrUtil.isBlank(distributeApplyMoneyReq.getImg())) {
+//			throw BusinessRuntimeException.getInstance("打款截图为空");
+//		}
 		DistributeMoneyApply apply = new DistributeMoneyApply();
 		apply.setImg(distributeApplyMoneyReq.getImg());
 		apply.setId(distributeApplyMoneyReq.getId());