111
wang-hao-jie
2022-08-25 d90da0759bd93c7f429f6a20bc835782ad927c02
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
package com.boying.common;
 
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
 
@Configuration
@PropertySource(value = { "classpath:systemconfig.properties" }, encoding = "utf-8")
public class SystemConfigProperties {
 
    @Bean
    public static PropertySourcesPlaceholderConfigurer propertyConfigurer() {
        return new PropertySourcesPlaceholderConfigurer();
    }
    @Value("${img.uploadPath}")
    private String uploadImgPath;
 
    @Value("${img.uploadPath2}")
    private String uploadImgPath2;
 
    @Value("${img.uploadUserPath}")
    private String uploadUserPath;
 
    @Value("${img.showImg}")
    private String showImg;
 
    @Value("${img.showImg2}")
    private String showImg2;
 
    @Value("${img.showImg3}")
    private String showImg3;
 
    @Value("${server.ip}")
    private String ip;
 
    @Value("${server.ip2}")
    private String ip2;
 
    public String getUploadImgPath() {
        return uploadImgPath;
    }
 
    public void setUploadImgPath(String uploadImgPath) {
        this.uploadImgPath = uploadImgPath;
    }
 
    public String getShowImg() {
        return showImg;
    }
 
    public void setShowImg(String showImg) {
        this.showImg = showImg;
    }
 
    public String getIp() {
        return ip;
    }
 
    public void setIp(String ip) {
        this.ip = ip;
    }
 
    public String getIp2() {
        return ip2;
    }
 
    public String getUploadUserPath() {
        return uploadUserPath;
    }
 
    public String getShowImg2() {
        return showImg2;
    }
 
    public String getUploadImgPath2() {
        return uploadImgPath2;
    }
 
    public String getShowImg3() {
        return showImg3;
    }
}