package com.cloud.attendance.utils;
|
|
import lombok.Data;
|
import org.springframework.beans.factory.annotation.Value;
|
import org.springframework.stereotype.Component;
|
@Component
|
@Data
|
public class EnumStr {
|
|
public static final String VideoReqNum = "videoReqNum";
|
//user 用户模块 接口 ip
|
@Value("${loginData.redUrl}")
|
private String userHOSTNAME = "localhost";
|
//user 用户模块 接口 端口
|
@Value("${loginData.redPort}")
|
private int userHTTP_PORT =3694;
|
|
/**
|
* 人员管理url BbEmployee/feign/findEmpById
|
*/
|
public static final String findEmpByIdUrl = "/data/api-u/BbEmployee/feign/findEmpById";
|
|
/**
|
* 人员管理url // /BbEmployee/queryPersonSimpleInfoById
|
*/
|
public static final String queryPersonSimpleInfoById = "/data/api-u/BbEmployee/queryPersonSimpleInfoById";
|
/**
|
* 人员管理url // /BbEmployee/list
|
*/
|
public static final String queryPersonList = "/data/api-u/BbEmployee/list";
|
|
@Value("${fdfsImgUrl.server}")
|
private String httpImgUrl = "";
|
|
// 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;
|
/**
|
* 设备管理url
|
*/
|
@Value("${deviceService.url}")
|
private String deviceServiceUrl = "";
|
/**
|
* 设备管理的端口
|
*/
|
@Value("${deviceService.port}")
|
private String deviceServicePort = "";
|
|
public static final String getClusterDeviceTree = "/data/api-d/cluster/getClusterDeviceTree";
|
/**
|
* es 数据中 考勤日期字段
|
*/
|
public static final String esIndexField = "videopersons,padpersons"; // 多索引,分割
|
/**
|
* es 数据中 考勤日期字段
|
*/
|
public static final String picDateField = "picDate";
|
/**
|
* 前端页面 考勤日期字段
|
*/
|
public static final String picDateShow = "onlinetime";
|
/**
|
* es 数据中 抓拍图片 字段
|
*/
|
public static final String perPicField = "picSmUrl";
|
/**
|
* 前端页面 抓拍图片 字段
|
*/
|
public static final String snapPicShow = "Snapshotpath";
|
|
/**
|
* 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";
|
|
}
|