2021与蓝度共同重构项目,服务端
liuhaonan
2022-09-08 39f6f31b5b5c6f646b60cf344c1300bb72c59147
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.sandu.ximon.admin.config;
 
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
 
@Component
public class ServerConfig {
 
    @Value("${server-conf.ip}")
    public String SIP;
 
 
    private static String ServerIP;
 
 
    public static String getServerIP() {
        return ServerIP;
    }
 
}