|
@@ -320,10 +320,10 @@ public class WechatLogic {
|
|
|
log.info("商户扫码支付生成订单响应: {}", payResult);
|
|
|
} catch (WxPayException e) {
|
|
|
log.error("商户扫码支付失败: {}", payResult);
|
|
|
- throw new RemoteServiceException("扫码支付失败,请稍后再试");
|
|
|
+ throw new RemoteServiceException("扫码支付失败,请检查二维码是否正确");
|
|
|
}
|
|
|
if (payResult == null || WxPayConstants.ResultCode.FAIL.equals(payResult.getReturnCode())) {
|
|
|
- throw new RemoteServiceException("扫码支付失败,请稍后再试");
|
|
|
+ throw new RemoteServiceException("扫码支付失败,请检查二维码是否正确");
|
|
|
}
|
|
|
//记录流水
|
|
|
AdminCompanyWechat adminCompanyWechat = adminCompanyWechatService.getById(companyWechatId);
|
|
@@ -1234,10 +1234,10 @@ public class WechatLogic {
|
|
|
log.info("商户扫码支付生成订单响应: {}", payResult);
|
|
|
} catch (WxPayException e) {
|
|
|
log.error("商户扫码支付失败: {}", payResult);
|
|
|
- throw new RemoteServiceException("扫码支付失败,请稍后再试");
|
|
|
+ throw new RemoteServiceException("扫码支付失败,请检查二维码是否正确");
|
|
|
}
|
|
|
if (payResult == null || WxPayConstants.ResultCode.FAIL.equals(payResult.getReturnCode())) {
|
|
|
- throw new RemoteServiceException("扫码支付失败,请稍后再试");
|
|
|
+ throw new RemoteServiceException("扫码支付失败,请检查二维码是否正确");
|
|
|
}
|
|
|
//记录流水
|
|
|
|