wangqifan 3 年 前
コミット
af0aeb52d2
1 ファイル変更3 行追加3 行削除
  1. 3 3
      src/main/java/com/izouma/nineth/service/AssetService.java

+ 3 - 3
src/main/java/com/izouma/nineth/service/AssetService.java

@@ -184,9 +184,9 @@ public class AssetService {
             throw new BusinessException("需持有满" + holdDays + "天才能寄售上架");
             throw new BusinessException("需持有满" + holdDays + "天才能寄售上架");
         }
         }
         User owner = userRepo.findById(asset.getUserId()).orElseThrow(new BusinessException("用户不存在"));
         User owner = userRepo.findById(asset.getUserId()).orElseThrow(new BusinessException("用户不存在"));
-        if (StringUtils.isBlank(owner.getSettleAccountId())) {
-            throw new BusinessException("请先绑定银行卡");
-        }
+//        if (StringUtils.isBlank(owner.getSettleAccountId())) {
+//            throw new BusinessException("请先绑定银行卡");
+//        }
         if (asset.isConsignment()) {
         if (asset.isConsignment()) {
             throw new BusinessException("已寄售,请勿重新操作");
             throw new BusinessException("已寄售,请勿重新操作");
         }
         }