|
|
@@ -117,7 +117,7 @@ public class SoulcallVerticle extends AbstractVerticle{
|
|
|
// ctr.response().setStatusCode(200).end("成功!!!!!!");
|
|
|
log.info("设备注销-------------deviceId:"+ deviceId);
|
|
|
}
|
|
|
- webClient.post(80, "adminapi.demo3.vodaiot.com", LinxiSignHelper.DEL_DEVICE).sendJson(ctr.getBodyAsJson(),ar->{
|
|
|
+ webClient.post(80, "adminapi.lingxi.vodaiot.com", LinxiSignHelper.DEL_DEVICE).sendJson(ctr.getBodyAsJson(),ar->{
|
|
|
if(ar.succeeded()){
|
|
|
log.info(ar.toString());
|
|
|
ctr.response().setStatusCode(ar.result().statusCode()).end(ar.result().bodyAsBuffer());
|
|
|
@@ -147,7 +147,7 @@ public class SoulcallVerticle extends AbstractVerticle{
|
|
|
// ctr.response().setStatusCode(200).end("成功!!!!!!");
|
|
|
log.info("设备注册-------------deviceId:"+ deviceId);
|
|
|
}
|
|
|
- webClient.post(80, "adminapi.demo3.vodaiot.com", LinxiSignHelper.ADD_DEVICE).sendJson(ctr.getBodyAsJson(),ar->{
|
|
|
+ webClient.post(80, "adminapi.lingxi.vodaiot.com", LinxiSignHelper.ADD_DEVICE).sendJson(ctr.getBodyAsJson(),ar->{
|
|
|
if(ar.succeeded()){
|
|
|
ctr.response().setStatusCode(ar.result().statusCode()).end(ar.result().bodyAsBuffer());
|
|
|
}else{
|