zhuo
2025-04-24 89536a3b40beed6619d02306bcfc3c96b3c3ec9c
群消息通知开启
已修改1个文件
11 ■■■■ 文件已修改
ruoyi-common/src/main/java/com/ruoyi/common/utils/WxCpUtils.java 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-common/src/main/java/com/ruoyi/common/utils/WxCpUtils.java
@@ -100,12 +100,11 @@
     * @throws Exception
     */
    public static String informWebHook(String webHook, String content) {
//        JSONObject jsonObject = new JSONObject()
//                .accumulate("msgtype", "text")
//                .accumulate("text", new JSONObject()
//                        .accumulate("content", content));
//        return HttpRequest.post(webHook).header("Content-Type", "application/json").body(jsonObject.toString()).execute().body();
        return null;
        JSONObject jsonObject = new JSONObject()
                .accumulate("msgtype", "text")
                .accumulate("text", new JSONObject()
                        .accumulate("content", content));
        return HttpRequest.post(webHook).header("Content-Type", "application/json").body(jsonObject.toString()).execute().body();
    }
    public static String getMd5(File file) {