
cn.bestwu.api.test.ApiProperties Maven / Gradle / Ivy
package cn.bestwu.api.test;
import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* @author Peter Wu
*/
@ConfigurationProperties("api.test")
public class ApiProperties {
/**
* 测试页面路径
*/
private String path = "/_t";
/**
* 资源路径
*/
private String[] resourceLocations = new String[]{"classpath:/META-INF/_t/", "classpath:/_t/"};
/**
* 开发文档路径
*/
private String devDoc = "";
/**
* 记住我key
*/
private String rememberMeKey = "33sDuk";
/**
* 登录账号
*/
private String username = "admin";
/**
* 登录密码
*/
private String password = "password";
/**
* 开发模式
*/
private boolean dev = false;
//--------------------------------------------
public String getPath() {
return path;
}
public void setPath(String path) {
this.path = path;
}
public String[] getResourceLocations() {
return resourceLocations;
}
public void setResourceLocations(String[] resourceLocations) {
this.resourceLocations = resourceLocations;
}
public String getDevDoc() {
return devDoc;
}
public void setDevDoc(String devDoc) {
this.devDoc = devDoc;
}
public String getRememberMeKey() {
return rememberMeKey;
}
public void setRememberMeKey(String rememberMeKey) {
this.rememberMeKey = rememberMeKey;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public boolean isDev() {
return dev;
}
public void setDev(boolean dev) {
this.dev = dev;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy