@@ -40,7 +40,7 @@ public interface SystemConstant { | |||
String API_AIRPORT_POINT_FLIGH = "/api/airportInterface/createPointLine"; | |||
/** | |||
* 机场平台:定点飞行 | |||
* 机场平台:控制无人机 | |||
*/ | |||
String API_AIRPORT_DRONE_CONTROL = "/api/createPointLine/droneCommand"; | |||
@@ -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); |