package com.inspect.upstream.cofiguration;
|
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
import org.springframework.context.annotation.PropertySource;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
@PropertySource("classpath:application.yml")
|
|
@Component
|
|
public class UpSystemServerProperties {
|
|
|
|
@Value("${upSystemServer.serverIp}")
|
|
public String ip;
|
|
|
|
@Value("${upSystemServer.serverPort}")
|
|
public Integer port;
|
|
|
|
@Value("${upSystemServer.upCode}")
|
|
public String upCode;
|
|
|
|
@Value("${upSystemServer.iipCode}")
|
|
public String iipCode;
|
|
|
|
}
|