From 71b0e418839dda386043fb6cad1ec335bcdc06c6 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期四, 09 十一月 2023 14:08:21 +0800
Subject: [PATCH] 增加设置是否跳过设置工艺参数接口

---
 router/index.go |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/router/index.go b/router/index.go
index f046b22..df7e1dd 100644
--- a/router/index.go
+++ b/router/index.go
@@ -71,8 +71,15 @@
 	deviceApi := new(v1.DeviceApi)
 	deviceGroup := v1Group.Group("device")
 	{
-		deviceGroup.GET("list", deviceApi.DeviceList)                       // 鍙�夎澶囧垪琛�
-		deviceGroup.GET("setCurrentDeviceId", deviceApi.SetCurrentDeviceId) // 鍒囨崲璁惧ID
+		deviceGroup.GET("list", deviceApi.DeviceList)                        // 鍙�夎澶囧垪琛�
+		deviceGroup.POST("setCurrentDeviceId", deviceApi.SetCurrentDeviceId) // 鍒囨崲璁惧ID
+		deviceGroup.POST("config", deviceApi.Config)                         // 閰嶇疆涓�浜涘瓧娈�
+	}
+
+	systemApi := new(v1.SystemApi)
+	systemGroup := v1Group.Group("system")
+	{
+		systemGroup.GET("problemList", systemApi.ProblemList) // 闂璇婃柇鍒楄〃
 	}
 
 	//eventsApi := new(v1.EventsApi)

--
Gitblit v1.8.0