Merge remote-tracking branch 'origin/test' into test
This commit is contained in:
@@ -280,8 +280,9 @@ public class WechatPayManager {
|
||||
|
||||
JSONObject object = JSONObject.parseObject(resp);
|
||||
|
||||
String code = object.getString("code");
|
||||
String status = object.getString("status");
|
||||
if ("INVALID_REQUEST".equalsIgnoreCase(status)) {
|
||||
if ("INVALID_REQUEST".equalsIgnoreCase(code) || StrUtil.isNotBlank(status)) {
|
||||
throw new CzgException("微信退款失败:" + object.getString("message"));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user