瀏覽代碼

Merge branch 'develop' of gitadmin/tuoheng_lc into release

tags/v1.2.0^2
wanjing 1 年之前
父節點
當前提交
45532bc126
共有 2 個檔案被更改,包括 2 行新增2 行删除
  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 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存