2021与蓝度共同重构项目,服务端
liuhaonan
2022-11-07 ddfbc40f9ca8546a2c34865abef51630f054d5e9
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
26
27
28
29
30
31
32
package com.sandu.ximon.admin.config;
 
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
 
/**
 * led服務器地址
 **/
@Component
@ConfigurationProperties(prefix = "realtime-server")
public class RealtimeServerBean {
 
    private String command;
 
    private String url;
 
    public void setCommand(String command) {
        this.command = command;
    }
 
    public void setUrl(String url) {
        this.url = url;
    }
 
    public String getCommand() {
        return command;
    }
 
    public String getUrl() {
        return url;
    }
}