From 372e5032b10eddc00b7a87a862a71dea6705609c Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期三, 01 十一月 2023 10:58:15 +0800 Subject: [PATCH] update doc --- router/index.go | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/router/index.go b/router/index.go index 09d6b40..f046b22 100644 --- a/router/index.go +++ b/router/index.go @@ -68,6 +68,13 @@ processModelGroup.GET("list", processModelApi.List) // 宸ヨ壓鍙傛暟鍒楄〃 } + deviceApi := new(v1.DeviceApi) + deviceGroup := v1Group.Group("device") + { + deviceGroup.GET("list", deviceApi.DeviceList) // 鍙�夎澶囧垪琛� + deviceGroup.GET("setCurrentDeviceId", deviceApi.SetCurrentDeviceId) // 鍒囨崲璁惧ID + } + //eventsApi := new(v1.EventsApi) //eventsGroup := v1Group.Group("events") //{ -- Gitblit v1.8.0