From 842c0049ea8498ea4adb3ca119157561b4d7df4f Mon Sep 17 00:00:00 2001
From: zhaowenyu <35589726@qq.com>
Date: Mon, 08 Dec 2025 17:26:37 +0800
Subject: [PATCH] 2025-12-08 zwy 整理设备属性设置无人机不在线时返回前端错误提示代码为自定义代码,设备已离线和机场代码共用一个,无法区分机场和无人机设备。

---
 ard-work/src/main/java/com/ard/work/component/forest/TyClient.java |    3 ++-
 1 files changed, 2 insertions(+), 1 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..928ea74 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
@@ -16,11 +16,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);
 
     /**

--
Gitblit v1.9.3