Commit 172fffab by 雷紫添

添加nginx端口

parent 8340db88
......@@ -15,6 +15,8 @@ public class IpADressLock {
@Value(value = "${ftpserverip}")
private String ftpserverip;
@Value(value = "${nginxport}")
private String nginxport;
@Value(value = "${ftpfilePath}")
private String ftpfilePath;
@Value(value = "${ipaddress}")
......@@ -38,7 +40,7 @@ public class IpADressLock {
}
RestTemplate restTemplate = new RestTemplate();
String result =restTemplate.getForObject("http://"+ftpserverip+ftpfilePath+ipaddress+".js",String.class);
String result =restTemplate.getForObject("http://"+ftpserverip+nginxport+ftpfilePath+ipaddress+".js",String.class);
List<IpADdress> resultList= JSONArray.parseArray(result,IpADdress.class);
......
......@@ -24,6 +24,7 @@ spring:
ftpserverip: 47.92.129.99
nginxport: 9053
ftpport: 4546
ftpuser: ftpuser
ftppass: fou3rfnder4SD1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment