2021与蓝度共同重构项目,服务端
liuhaonan
2022-05-10 98dfa3784a8a096a5e5f9abe5fe98f6c1dc39509
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;
    }
 
}