2021与蓝度共同重构项目,服务端
zhanzhiqin
2022-05-17 aff6f184e7a38a1674f3067e3f6c3acc92a4fed4
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;
    }
 
}