|
|
@@ -184,9 +184,9 @@ public class AssetService {
|
|
|
throw new BusinessException("需持有满" + holdDays + "天才能寄售上架");
|
|
|
}
|
|
|
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()) {
|
|
|
throw new BusinessException("已寄售,请勿重新操作");
|
|
|
}
|