From 4d1c72b10afcb0c4e7ba3b6caddd29b191ae5870 Mon Sep 17 00:00:00 2001
From: rain <167982779@qq.com>
Date: Mon, 20 May 2024 16:22:46 +0800
Subject: [PATCH] 水印调整

---
 src/main/java/com/dji/sample/patches/controller/PatchesController.java |   10 +++++++---
 1 files changed, 7 insertions(+), 3 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 6a10feb..5d4a6e4 100644
--- a/src/main/java/com/dji/sample/patches/controller/PatchesController.java
+++ b/src/main/java/com/dji/sample/patches/controller/PatchesController.java
@@ -76,9 +76,13 @@
     }
     @GetMapping("/useMyTask")
     public ResponseResult useMyTask() throws Exception {
-        timerUtil.myTask();
-        timerUtil.myTask2();
-        return ResponseResult.success();
+        try {
+//        timerUtil.myTask();
+            timerUtil.myTask2();
+            return ResponseResult.success();
+        }catch (Exception e){
+            throw new RuntimeException("db存储发送出现异常");
+        }
     }
     /**
      * 根据图斑的地块编号获取相对应音视频

--
Gitblit v1.9.3