You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
605 B
27 lines
605 B
package com.genersoft.iot.vmp.conf;
|
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
import org.springframework.context.annotation.Configuration;
|
|
|
|
/**
|
|
* @Description:TODO(这里用一句话描述这个类的作用)
|
|
* @author: swwheihei
|
|
* @date: 2020年5月6日 下午2:46:00
|
|
*/
|
|
@Configuration("vmConfig")
|
|
public class VManagerConfig {
|
|
|
|
@Value("${spring.application.database:redis}")
|
|
private String database;
|
|
|
|
public String getDatabase() {
|
|
return database;
|
|
}
|
|
|
|
public void setDatabase(String database) {
|
|
this.database = database;
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|