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.
26 lines
598 B
26 lines
598 B
![]()
5 years ago
|
package com.genersoft.iot.vmp.conf;
|
||
|
|
||
|
import org.springframework.beans.factory.annotation.Value;
|
||
|
import org.springframework.context.annotation.Configuration;
|
||
|
|
||
|
/**
|
||
|
* @Description:TODO(这里用一句话描述这个类的作用)
|
||
|
* @author: songww
|
||
|
* @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;
|
||
|
}
|
||
|
|
||
|
}
|