老设备时间调整10分钟
This commit is contained in:
parent
0953591ae8
commit
5878dcd095
|
@ -36,7 +36,7 @@ public class EquTask {
|
|||
/**
|
||||
* 港口原有设备对接
|
||||
*/
|
||||
@Scheduled(fixedRate = 3600000)
|
||||
@Scheduled(fixedRate = 600000)
|
||||
public void equ(){
|
||||
String hash = "16EA8A305FB58BE0730DD67F04F022F4";
|
||||
|
||||
|
@ -56,7 +56,7 @@ public class EquTask {
|
|||
map.put("sensorUId",e.getSn());
|
||||
map.put("label",e.getName());
|
||||
HttpResult result = OkHttps.sync("http://10.201.35.30:8090/enviSensor/select?" +
|
||||
"page=1&pageSize=40&valid=0&type=5&sensorUId={sensorUId}&label={label}")
|
||||
"page=1&pageSize=10&valid=0&type=5&sensorUId={sensorUId}&label={label}")
|
||||
.addPathPara(map)
|
||||
.addHeader("token", token)
|
||||
.get();
|
||||
|
|
Loading…
Reference in New Issue