Sfoglia il codice sorgente

Merge branch 'develop' of gitadmin/tuoheng_lc into release

tags/v1.2.0^2
wanjing 1 anno fa
parent
commit
45532bc126
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +1
    -1
      tuoheng-admin/src/main/java/com/tuoheng/admin/config/SystemConstant.java
  2. +1
    -1
      tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/airport/DroneControlService.java

+ 1
- 1
tuoheng-admin/src/main/java/com/tuoheng/admin/config/SystemConstant.java Vedi File

@@ -40,7 +40,7 @@ public interface SystemConstant {
String API_AIRPORT_POINT_FLIGH = "/api/airportInterface/createPointLine";

/**
* 机场平台:定点飞行
* 机场平台:控制无人机
*/
String API_AIRPORT_DRONE_CONTROL = "/api/createPointLine/droneCommand";


+ 1
- 1
tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/airport/DroneControlService.java Vedi File

@@ -23,7 +23,7 @@ public class DroneControlService {
public JsonResult execute(DroneControlRequest request) {
log.info("进入调用机场平台,操作无人机");
this.check(request);
String url = CommonConfig.airportURL + SystemConstant.API_AIRPORT_POINT_FLIGH;
String url = CommonConfig.airportURL + SystemConstant.API_AIRPORT_DRONE_CONTROL;
JSONObject jsonObject = new JSONObject().parseObject(request.getValue());

log.info("调用机场平台,操作无人机: url:{}", url);

Loading…
Annulla
Salva