Blame view

src/main/java/com/huaheng/framework/config/ServerIpConfig.java 433 Bytes
游杰 authored
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.huaheng.framework.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "server")
public class ServerIpConfig {


    private static String port;

    public static String getPort() {
        return port;
    }

    public void setPort(String port) {
        ServerIpConfig.port = port;
    }
}