package com.cloud.retrieve.utils; import lombok.Data; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; @Component @Data public class EnumStr { //user 用户模块 接口 ip @Value("${loginData.redUrl}") private String userHOSTNAME = "localhost"; //user 用户模块 接口 端口 @Value("${loginData.redPort}") private int userHTTP_PORT =3694; //user 用户模块 接口 端口 @Value("${loginData.queryPerId}") private String UserQueryPerIdUrl = ""; //user 用户模块 人员集合 端口 @Value("${loginData.queryPersonList}") private String queryPersonList = ""; @Value("${fdfsImgUrl.server}") private String httpImgUrl = ""; @Value("${fdfsImgUrl.port}") private String httpImgPort = ""; @Value("${jni.extractFace}") private String extractFace = ""; @Value("${jni.findLikerPics}") private String findLikerPics = ""; //加入布控 @Value("${joinControl.server}") private String joinControl = ""; // redis中存储es和base比对数据的拼接key private String esListkey = "_esList"; private String baseListkey = "_baseList"; //user 用户模块 接口 ip //es 数据 查询 接口 ip @Value("${es.es_network_host}") private String esHOSTNAME = "192.168.1.203"; //es 数据 查询 接口 端口 @Value("${es.es_network_http_port}") private int esHTTP_PORT =9200; //es 数据 查询 index 接口 端口 @Value("${es.es_Index_url}") private String esIndexUrl = ""; //es 数据 查询 search 接口 端口 private String esPersonType = "/perVideoPicture"; private String esActionType = "/perVideoAction"; //es 数据 查询 search 接口 端口 private String esSearch = "/_search"; //es 数据 update 接口 端口 private String esUpdate = "/_update"; // c 服务 端口 @Value("${cserver.port}") private String cServerPort = "11111"; // c 服务 查看大图 private String cServerGetBigPicUrl = "/getAlarmImageFromVideoFile"; // c 服务 查看视频 private String cServerGetVideoUrl = "/getRecordVideoPath"; // c 服务 获取实时流截图 private String cServerGetSnapshot = "/getSnapshot"; /** * 设备管理url */ @Value("${deviceService.url}") private String deviceServiceUrl = ""; /** * 设备管理的端口 */ @Value("${deviceService.port}") private String deviceServicePort = ""; /** * es 数据中 考勤日期字段 */ public static final String esIndexField = "videopersons"; // 多索引,分割 /** * es 数据中 考勤日期字段 */ public static final String picDateField = "picDate"; /** * 前端页面 考勤日期字段 */ public static final String picDateShow = "onlinetime"; /** * es 数据中 设备ID 字段 */ public static final String devIdField = "indeviceid"; /** * 前端页面 设备ID 字段 */ public static final String devIdShow = "indeviceid"; /** * es 数据中 设备名 字段 */ public static final String devNameField = "indevicename"; /** * es 数据中 抓拍地址 字段 */ public static final String devAddressField = "picAddress"; /** * 前端页面 设备名 字段 */ public static final String devNameShow = "indevicename"; public static final String personUrlField = "personPicUrl"; public static final String idCardField = "idcard"; /** * es 数据中 personID 字段 */ public static final String personIdField = "personId"; /** * 前端页面 personID 字段 */ public static final String personIdShow = "pid"; /** * 前端页面 identity 人员身份 字段 */ public static final String perIdentityShow = "identity"; /** * 前端页面 photo 字段 ,数据库 内容 */ public static final String photoAddShow = "photo"; /** * 前端页面 identity 类型 为 student */ public static final String STUDENT = "student"; /** * 前端页面 identity 类型 为 student 200 */ public static final String STUDENT_SQL = "200"; /** * 前端页面 identity 类型 为 teacher */ public static final String TEACHER = "teacher"; /** * 前端页面 identity 类型 为 teacher */ public static final String TEACHER_SQL = "100"; // 教师 /** * 前端页面 pname 字段 数据库 内容 */ public static final String pnameShow = "pname"; }