huanghongfa
2021-07-23 39d4d8320bdc63e6266d859ce41d8708d5e529d3
修改bug
1个文件已修改
6 ■■■■ 已修改文件
springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/WxOfficialApi.java 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/WxOfficialApi.java
@@ -66,7 +66,7 @@
        HttpURLConnection connection = (HttpURLConnection) url.openConnection();
        connection.setRequestMethod("POST");
        connection.setDoOutput(true);
        connection.setRequestProperty("content-type", "application/json;charset=UTF-8");
        connection.setRequestProperty("content-type", "application/json;charset=utf-8");
        connection.connect();
        // post发送的参数
        Map<String, Object> map = new HashMap<>();
@@ -86,7 +86,7 @@
        int len = -1;
        StringBuffer sb = new StringBuffer();
        while((len = in.read(b)) != -1) {
            sb.append(new String(b,0,len,"UTF-8"));
            sb.append(new String(b,0,len,"utf-8"));
        }
        in.close();
@@ -94,7 +94,7 @@
    }
    @ApiOperation(value = "拉取公众号列表")
    @GetMapping(value = "/list/noToken",produces="application/json;charset=UTF-8")
    @GetMapping(value = "/list/noToken")
    public R pageDiscuss() throws Exception{
        WxOfficialApi officialApi = new WxOfficialApi();