panlinlin
2021-02-25 0f58218badea86a5209ae7f1ccd60b7cb4b26eee
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
package com.genersoft.iot.vmp.conf;
 
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
 
/**    
 * @Description: 获取数据库配置   
 * @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;
    }
}