src/main/java/com/dji/sample/patches/controller/PatchesController.java
@@ -41,6 +41,7 @@ private TbDkjbxxServiceImpl tbDkjbxxService; @Autowired private TimerUtil timerUtil; /** * 根据workspaceId获取图斑列表信息 * @@ -74,10 +75,16 @@ getPatchesService.delPatches(); return ResponseResult.success(); } @GetMapping("/useMyTask") public ResponseResult useMyTask() throws Exception { timerUtil.myTask(); return ResponseResult.success(); try { // timerUtil.myTask(); timerUtil.myTask2(); return ResponseResult.success(); } catch (Exception e) { throw new RuntimeException("db存储发送出现异常"); } } /**