From b8b5a3895e741d5348ecdd39ad2e5cbd443f8e89 Mon Sep 17 00:00:00 2001
From: zhaowenyu <35589726@qq.com>
Date: Wed, 01 Apr 2026 12:17:04 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev

---
 ard-work/src/main/java/com/ard/work/component/forest/TyClient.java |   15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/ard-work/src/main/java/com/ard/work/component/forest/TyClient.java b/ard-work/src/main/java/com/ard/work/component/forest/TyClient.java
index a5f3c23..badc96f 100644
--- a/ard-work/src/main/java/com/ard/work/component/forest/TyClient.java
+++ b/ard-work/src/main/java/com/ard/work/component/forest/TyClient.java
@@ -1,9 +1,6 @@
 package com.ard.work.component.forest;
 
-import com.ard.work.domain.dto.BoxHistoryDTO;
-import com.ard.work.domain.dto.BoxPhotosDTO;
-import com.ard.work.domain.dto.BoxSettingsDTO;
-import com.ard.work.domain.dto.TokenDTO;
+import com.ard.work.domain.dto.*;
 import com.ard.work.domain.receiver.*;
 import com.dtflys.forest.annotation.*;
 
@@ -16,11 +13,12 @@
  * @date 2024年10月21日14:45
  **/
 @Address(source = MyAddressSource.class)
+@BaseRequest(interceptor = ErrorInterceptor.class)
 public interface TyClient {
     /**
      * 获取云盒TOKEN
      */
-    @Post(TyConst.POST_TOKEN)
+    @Post(value=TyConst.POST_TOKEN)
     TyHttpCommonReceiver<AccessTokenReceiver> getToken(@Var("serverId") String serverId, @JSONBody TokenDTO tokenDTO);
 
     /**
@@ -42,13 +40,18 @@
     @Post(value = TyConst.POST_BOX_HISTORY, interceptor = TokenInterceptor.class)
     TyHttpCommonReceiver<List<BoxHistoryReceiver>> getBoxHistory(@Var("serverId") String serverId,
                                                                  @JSONBody BoxHistoryDTO boxHistoryDTO);
-
     /**
      * 获取任务照片
      */
     @Post(value = TyConst.POST_BOX_PHOTOS, interceptor = TokenInterceptor.class)
     TyHttpCommonReceiver<List<BoxPhotosReceiver>> getBoxPhotos(@Var("serverId") String serverId,
                                                                @JSONBody BoxPhotosDTO boxPhotosDTO);
+    /**
+     * 获取任务视频
+     */
+    @Post(value = TyConst.POST_BOX_VIDEOS, interceptor = TokenInterceptor.class)
+    TyHttpCommonReceiver<List<BoxVideosReceiver>> getBoxVideos(@Var("serverId") String serverId,
+                                                               @JSONBody BoxVideosDTO boxVideosDTO);
 
     /**
      * 修改云盒设置

--
Gitblit v1.9.3