You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

23 lines
581 B

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;
}