router/index.go
@@ -75,6 +75,12 @@ deviceGroup.GET("setCurrentDeviceId", deviceApi.SetCurrentDeviceId) // 切换设备ID } systemApi := new(v1.SystemApi) systemGroup := v1Group.Group("system") { systemGroup.GET("problemList", systemApi.ProblemList) // 问题诊断列表 } //eventsApi := new(v1.EventsApi) //eventsGroup := v1Group.Group("events") //{