2021与蓝度共同重构项目,服务端
Van333
2022-12-29 727a69f859060093e685582fa10e5de82dcc138a
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;
    }
 
}