From c7c8554e2b9809bc90ac4a43fdaa39dfe16f4ab0 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期五, 09 五月 2025 14:09:32 +0800
Subject: [PATCH] “远程测控”功能返回数据中增加protocol和protocolVersion属性,以备前端做多协议兼容。

---
 pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/test/Test4TempCtrl.java |   41 +++++++++++++++++++++++++++++++++++++++++
 1 files changed, 41 insertions(+), 0 deletions(-)

diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/test/Test4TempCtrl.java b/pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/test/Test4TempCtrl.java
new file mode 100644
index 0000000..8de7606
--- /dev/null
+++ b/pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/test/Test4TempCtrl.java
@@ -0,0 +1,41 @@
+package com.dy.pipIrrTemp.test;
+
+import com.dy.common.aop.SsoAop;
+import com.dy.common.webUtil.BaseResponse;
+import com.dy.common.webUtil.BaseResponseUtils;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * @Author: liurunyu
+ * @Date: 2024/12/17 8:52
+ * @Description
+ */
+@Slf4j
+@RestController
+@RequestMapping(path = "test")
+@SuppressWarnings("unchecked")//java鐗堟湰瓒婇珮锛屽娉涘瀷绾︽潫瓒婁弗锛屾墍浠ラ厤缃甋uppressWarnings("unchecked")
+public class Test4TempCtrl {
+
+    private Test4TempSv sv;
+
+    @Autowired
+    private void setSv(Test4TempSv sv) {
+        this.sv = sv;
+    }
+
+
+    /**
+     * 鍒犻櫎涓�浜涙紡鎹熺粺璁�
+     * @return
+     */
+    @GetMapping(path = "doSome")
+    @SsoAop()
+    public BaseResponse<Boolean> doSome(){
+        this.sv.doSome();
+        return BaseResponseUtils.buildSuccess(true);
+    }
+}

--
Gitblit v1.8.0