package com.lunhan.xxx.common.config;
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
import org.springframework.stereotype.Component;
|
|
@Component
|
@ConfigurationProperties(prefix = "api-set")
|
public class ApiSetConfig {
|
private String securityKey;
|
private String waterBasicUrl;
|
|
public String getSecurityKey() {
|
return securityKey;
|
}
|
|
public void setSecurityKey(String securityKey) {
|
this.securityKey = securityKey;
|
}
|
|
public String getWaterBasicUrl() {
|
return waterBasicUrl;
|
}
|
|
public void setWaterBasicUrl(String waterBasicUrl) {
|
this.waterBasicUrl = waterBasicUrl;
|
}
|
}
|