Parcourir la source

Merge branch 'develop' of gitadmin/tuoheng_lc into release

tags/v1.2.0^2
wanjing il y a 1 an
Parent
révision
45532bc126
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  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 Voir le fichier

@@ -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 Voir le fichier

@@ -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);

Chargement…
Annuler
Enregistrer