main
周文涛 2 years ago
parent ded3953c92
commit bf391eaddc

@ -35,7 +35,7 @@ public class LoadCelueInit implements ApplicationRunner{
@Override @Override
public void run(ApplicationArguments args) throws Exception { public void run(ApplicationArguments args) throws Exception {
Thread.sleep(5000L); Thread.sleep(5000L);
if (active) { if (false) {
//获取网关的数据,同步到数据库中 //获取网关的数据,同步到数据库中
String gateway_5lqh = DevConstant.gateway.gateway_5lqh;//5楼网关 String gateway_5lqh = DevConstant.gateway.gateway_5lqh;//5楼网关
String format = String.format("{\"serial\":\"%s\",\"productId\":\"\",\"methodName\":\"celueListQuery\",\"inputData\":{\"devid\":\"%s\"}}", gateway_5lqh,gateway_5lqh); String format = String.format("{\"serial\":\"%s\",\"productId\":\"\",\"methodName\":\"celueListQuery\",\"inputData\":{\"devid\":\"%s\"}}", gateway_5lqh,gateway_5lqh);

Loading…
Cancel
Save