|
|
|
@ -91,7 +91,7 @@ public class MerchantServiceImp implements MerchantService { |
|
|
|
// 删除商户支付信息配置记录
|
|
|
|
int count = merchantConfigMapper.removeMerchantConfig(mchId); |
|
|
|
if(count > 0) return; |
|
|
|
throw new BusinessException(ErrorConstant.BILL_AMOUNT_ERR); |
|
|
|
throw new BusinessException(ErrorConstant.MERCHANT_CONFIGURE_DEL_FAIL); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
@ -200,21 +200,4 @@ public class MerchantServiceImp implements MerchantService { |
|
|
|
} |
|
|
|
return sb.toString(); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 测试文件删除 |
|
|
|
* @param filePath |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
private Boolean delWecWindow(String filePath){ |
|
|
|
if(StringUtils.isEmpty(filePath)){ |
|
|
|
return true; |
|
|
|
} |
|
|
|
File file = new File(filePath); |
|
|
|
if(file.exists()) { |
|
|
|
file.delete(); |
|
|
|
return true; |
|
|
|
} |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |