feat: 通知公告临时提交
通知公告临时提交
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package com.youlai.boot.common.enums;
|
||||
|
||||
/**
|
||||
* 消息类型枚举
|
||||
* @author Theo
|
||||
* @since 2024-9-2 14:32:58
|
||||
*/
|
||||
public enum MessageTypeEnum {
|
||||
WEBSOCKET("webScoket", "websocket消息");
|
||||
|
||||
private String value;
|
||||
|
||||
private String label;
|
||||
|
||||
MessageTypeEnum(String value, String label) {
|
||||
this.value = value;
|
||||
this.label = label;
|
||||
}
|
||||
}
|
||||
@@ -60,4 +60,8 @@ public class CommonUtil {
|
||||
return List.of(str.split(separator));
|
||||
}
|
||||
|
||||
|
||||
public static String delHtmlTags(String htmlStr) {
|
||||
return htmlStr.replaceAll("<[^>]+>", "");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user