Browse Source

三方平台群消息发送 飞书通知

wangyunpeng 1 week ago
parent
commit
a89e5935f9

+ 1 - 1
api-module/src/main/java/com/tzld/piaoquan/api/job/wecom/thirdpart/WeComAccountJob.java

@@ -45,7 +45,7 @@ public class WeComAccountJob {
                     JSONObject.parseObject(response, new TypeReference<CommonResponse<LoginInfo>>() {});
             if (commonResponse.getErrcode() != 0 && Objects.isNull(commonResponse.getData().getUser_info())) {
                 redisUtils.set(offLineKey, "1", 30 * 60);
-                LarkRobotUtil.sendNotPushMessage(
+                LarkRobotUtil.sendWeComThirdPartMessage(
                         "【账号掉线检测通知】\n" +
                                 "账号名称:" + staff.getName() + "\n" +
                                 "账号UUID:" + uuid + "\n" +

+ 1 - 1
common-module/src/main/java/com/tzld/piaoquan/growth/common/utils/LarkRobotUtil.java

@@ -77,7 +77,7 @@ public class LarkRobotUtil {
     }
 
     public static void sendWeComThirdPartMessage(String msg) {
-        sendWeComThirdPartMessage("text", "企微推送结果:" + msg);
+        sendWeComThirdPartMessage("text", msg);
     }
 
     public static void sendWeComThirdPartMessage(String type, String msg) {