提取常量配置信息
This commit is contained in:
@@ -13,6 +13,11 @@
|
||||
<!-- 依赖 -->
|
||||
<dependencies>
|
||||
<!-- 项目模块 begin -->
|
||||
<dependency>
|
||||
<groupId>org.xujun</groupId>
|
||||
<artifactId>xtools-app-common-config</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.xujun</groupId>
|
||||
<artifactId>xtools-app-sys-biz</artifactId>
|
||||
|
||||
@@ -5,6 +5,7 @@ import org.springframework.data.annotation.Id;
|
||||
import org.springframework.data.elasticsearch.annotations.Document;
|
||||
import org.springframework.data.elasticsearch.annotations.Field;
|
||||
import org.springframework.data.elasticsearch.annotations.FieldType;
|
||||
import xtools.app.common.config.AppCommonConfig;
|
||||
|
||||
/**
|
||||
* <p>Title : EsSysLog</p>
|
||||
@@ -23,8 +24,8 @@ public class EsSysLog {
|
||||
|
||||
/**
|
||||
* ES索引名称
|
||||
**/
|
||||
public static final String INDEX_NAME = "log-sys_v16";
|
||||
*/
|
||||
public static final String INDEX_NAME = AppCommonConfig.APP_SYS_LOG_ES_INDEX_NAME;
|
||||
|
||||
/**
|
||||
* 主键 ID
|
||||
|
||||
Reference in New Issue
Block a user