liuxiaolong
2019-05-06 0bc4f4c791437b39b8c30624f5c21f8c855dc61d
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
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";
}