liuxiaolong
2019-05-06 f99bc8c6a1d10610373738edd7d0aa0181c81d99
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
package com.cloud.user.utils;
 
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
 
import java.io.Serializable;
@Data
@Component
public class EnumStr implements Serializable {
 
    /**
     *   fastdfs 文件服务器ip
     *   wp
     */
    @Value("${fdfsImgUrl.server}")
    private String  httpImgUrl = "";
 
    @Value("${uploadImg.pathUrl}")
    private String  uploadImgUrl = "";
 
    // es 接口 ip
    @Value("${es.es_network_host}")
    private   String esHOSTNAME = "";
    // es 接口 端口
    @Value("${es.es_network_http_port}")
    private  int esHTTP_PORT =9200;
 
    public static final String esUserIndex = "/personcollect/userInfo";
 
    @Value("${toUpdate.pathUrl}")
    private String  toUpdateUrl = "";
 
    @Value("${uploadToSave.pathUrl}")
    private String  uploadToSave = "";
 
    @Value("${editToSave.pathUrl}")
    private String  editToSave = "";
 
    @Value("${singleEdit.pathUrl}")
    private String  singleEdit = "";
 
    @Value("${clusterLocaltion.pathUrl}")
    private String  clusterLocaltion = "";
 
    @Value("${addSingle.pathUrl}")
    private String  addSingle = "";
 
    @Value("${anyThingToSave.pathUrl}")
    private String  anyThingToSave = "";
}