From c00662a72ca1582c064a2bd76aa92fd22fbfedc6 Mon Sep 17 00:00:00 2001
From: rain <167982779@qq.com>
Date: Thu, 30 May 2024 13:53:07 +0800
Subject: [PATCH] 修改水印部分信息,添加图斑图片审核,大屏图斑图片添加水印

---
 src/main/java/com/dji/sample/patches/controller/PatchesController.java |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 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 3e53592..93da704 100644
--- a/src/main/java/com/dji/sample/patches/controller/PatchesController.java
+++ b/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存储发送出现异常");
+        }
     }
 
     /**

--
Gitblit v1.9.3