diff --git a/payment-spring-boot-autoconfigure/src/main/java/com/enongm/dianji/payment/wechat/v3/WechatPayClient.java b/payment-spring-boot-autoconfigure/src/main/java/com/enongm/dianji/payment/wechat/v3/WechatPayClient.java index 1f8f1a3..945c383 100644 --- a/payment-spring-boot-autoconfigure/src/main/java/com/enongm/dianji/payment/wechat/v3/WechatPayClient.java +++ b/payment-spring-boot-autoconfigure/src/main/java/com/enongm/dianji/payment/wechat/v3/WechatPayClient.java @@ -177,7 +177,7 @@ public class WechatPayClient { throw new PayException("wechat pay server error,result : " + body); } if (Objects.isNull(body)) { - throw new IllegalStateException("cant obtain response body"); + throw new PayException("cant obtain wechat response body"); }