‘linchangsheng’ 7 月之前
父節點
當前提交
1b66e14464
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      mall-server-api/src/main/java/com/gree/mall/manager/logic/common/WechatLogic.java

+ 4 - 4
mall-server-api/src/main/java/com/gree/mall/manager/logic/common/WechatLogic.java

@@ -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("扫码支付失败,请检查二维码是否正确");
         }
         //记录流水