优化返回体

This commit is contained in:
xiafang
2020-11-27 09:21:00 +08:00
parent ff6d7a3c3a
commit 88a9acf898

View File

@@ -32,6 +32,9 @@ public class WechatResponseEntity<T> {
}
public boolean successful() {
if (log.isDebugEnabled()) {
log.debug("wechat httpStatus {}", this.httpStatus);
}
return this.httpStatus == HttpStatus.OK.value();
}
}