吴学文
2019-11-18 4614752f0bd78e6c2c6e39dcd87eeef338468077
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
package com.java110.config.properties.code;
 
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;
 
/**
 * Created by wuxw on 2017/7/25.
 */
@Component
@ConfigurationProperties(prefix = "java110")
@PropertySource("classpath:java110.properties")
public class Java110Properties {
 
    private String mappingPath;
 
    private String wxAppId;
 
    private String wxAppSecret;
 
    public String getMappingPath() {
        return mappingPath;
    }
 
    public void setMappingPath(String mappingPath) {
        this.mappingPath = mappingPath;
    }
 
    public String getWxAppId() {
        return wxAppId;
    }
 
    public void setWxAppId(String wxAppId) {
        this.wxAppId = wxAppId;
    }
 
    public String getWxAppSecret() {
        return wxAppSecret;
    }
 
    public void setWxAppSecret(String wxAppSecret) {
        this.wxAppSecret = wxAppSecret;
    }
}