diff --git a/jeecg-boot-base-core/src/main/java/org/jeecg/common/constant/CommonConstant.java b/jeecg-boot-base-core/src/main/java/org/jeecg/common/constant/CommonConstant.java index 45422ea..f35ba03 100644 --- a/jeecg-boot-base-core/src/main/java/org/jeecg/common/constant/CommonConstant.java +++ b/jeecg-boot-base-core/src/main/java/org/jeecg/common/constant/CommonConstant.java @@ -189,6 +189,9 @@ public interface CommonConstant { */ String CLOUD_SERVER_KEY = "spring.cloud.nacos.discovery.server-addr"; + /** 系统通告消息状态:1=已发布 */ + String ANNOUNCEMENT_SEND_STATUS_1 = "1"; + /**POST请求*/ String HTTP_POST = "POST"; @@ -207,6 +210,9 @@ public interface CommonConstant { /**String 类型的空值*/ String STRING_NULL = "null"; + /**前端vue3版本Header参数名*/ + String VERSION="X-Version"; + /**存储在线程变量里的动态表名*/ String DYNAMIC_TABLE_NAME="DYNAMIC_TABLE_NAME"; @@ -271,7 +277,13 @@ public interface CommonConstant { */ String CACHE_KEY_USER_LAST_ANNOUNT_TIME_1HOUR = "sys:cache:userinfo:user_last_annount_time::%s"; + /** + * 缓存所有台站key + */ String ALL_STATIONS = "stations"; - String ALL_NUCLEARFACILITY = "nuclearfacility"; + /** + * 缓存所有核设施key + */ + String ALL_NUCLEARFACILITY = "nuclearfacility"; } diff --git a/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/controller/SysAnnouncementController.java b/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/controller/SysAnnouncementController.java index 55c1011..4c2b157 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/controller/SysAnnouncementController.java +++ b/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/controller/SysAnnouncementController.java @@ -52,7 +52,6 @@ import java.util.concurrent.SynchronousQueue; import java.util.concurrent.ThreadPoolExecutor; import java.util.concurrent.TimeUnit; import java.util.stream.Collectors; - import static org.jeecg.common.constant.CommonConstant.ANNOUNCEMENT_SEND_STATUS_1; /**