liuxiaolong
2019-05-06 a7bed6b4cfecd61ec153818945f982c5bb796b98
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
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";
 
}