From 158150837c8355f5ca78326529395e56a9bccbdd Mon Sep 17 00:00:00 2001
From: rain <167982779@qq.com>
Date: Mon, 08 Jul 2024 10:55:34 +0800
Subject: [PATCH] 更新图斑状态变更、定时航线生成参数调整
---
src/main/java/com/dji/sample/patches/controller/PatchesController.java | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/dji/sample/patches/controller/PatchesController.java b/src/main/java/com/dji/sample/patches/controller/PatchesController.java
index fba9968..433342b 100644
--- a/src/main/java/com/dji/sample/patches/controller/PatchesController.java
+++ b/src/main/java/com/dji/sample/patches/controller/PatchesController.java
@@ -152,7 +152,22 @@
return ResponseResult.success(infoMap);
}
+ @GetMapping("/useMyTask")
+ public ResponseResult useMyTask() throws Exception {
+ try {
+// timerUtil.myTask();
+// timerUtil.myTask2();
+// timerUtil.myTask3();
+ timerUtil.mytask4();
+ timerUtil.mytask5();
+ timerUtil.mytask6();
+ timerUtil.mytask7();
+ } catch (Exception e) {
+ throw new RuntimeException("db存储发送出现异常" + e);
+ }
+ return ResponseResult.success();
+ }
@GetMapping ("/tests")
public ResponseResult use() {
--
Gitblit v1.9.3