Initial commit

This commit is contained in:
jackyu66git
2026-03-23 11:52:51 +08:00
commit ea8d889fbe
1114 changed files with 92438 additions and 0 deletions
@@ -0,0 +1,8 @@
package com.oneone.alert.common;
public class AlertConstant {
public static final String ACTION_DATA_TOPIC="actionDataLog";
public static final String ACTION_DATA_GROUP="actionDataGroup";
public static final String USER_BEHAVIOR_TOPIC="user-behavior";
}
@@ -0,0 +1,25 @@
package com.oneone.alert.common;
import lombok.Getter;
/**
* @author mice
* @version 1.0
* @date 2022-03-24 19:13
*/
public enum EventStatusEnum {
NO_SEND(0,"未发送"),
SENT(1,"已经发送"),
DEAL(2,"已处理"),
;
EventStatusEnum(Integer code, String desc) {
this.code = code;
this.desc = desc;
}
@Getter
private Integer code;
@Getter
private String desc;
}
@@ -0,0 +1,29 @@
package com.oneone.alert.common;
/**
* @author mice
* @version 1.0
* @date 2022-04-20 13:51
*/
public interface FeishuConstants {
/**
* 登录
*/
String LOGIN_URL = "https://open.feishu.cn/open-apis/auth/v3/app_access_token/internal";
/**
* 发送消息
*/
String MESSAGES = "https://open.feishu.cn/open-apis/im/v1/messages";
/**
* 群发
*/
String BATCH_SEND = "https://open.feishu.cn/open-apis/message/v4/batch_send/";
/**
* 群发
*/
String QUERY_UID = "https://open.feishu.cn/open-apis/contact/v3/users/batch_get_id";
}