自定义messageConverter

This commit is contained in:
felord.cn
2020-11-29 00:31:26 +08:00
parent d6ea7378aa
commit 24e83687f5

View File

@@ -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");
}