🆕 #1320 小程序模块增加订阅消息模板设置相关接口

This commit is contained in:
Binary Wang
2019-12-16 00:29:03 +08:00
parent c70706c9aa
commit dd6a1c0529
10 changed files with 322 additions and 12 deletions

View File

@@ -25,7 +25,7 @@ public class Utf8ResponseHandler implements ResponseHandler<String> {
final HttpEntity entity = response.getEntity();
if (statusLine.getStatusCode() >= 300) {
EntityUtils.consume(entity);
throw new HttpResponseException(statusLine.getStatusCode(), statusLine.getReasonPhrase());
throw new HttpResponseException(statusLine.getStatusCode(), statusLine.toString());
}
return entity == null ? null : EntityUtils.toString(entity, Consts.UTF_8);
}