‘linchangsheng’ 7 meses atrás
pai
commit
1b66e14464

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