zhangqian
2023-11-09 02a84fb6fb2a39bfe7fc5cf6c0137bbf231b17fe
router/index.go
@@ -68,6 +68,20 @@
      processModelGroup.GET("list", processModelApi.List) // 工艺参数列表
   }
   deviceApi := new(v1.DeviceApi)
   deviceGroup := v1Group.Group("device")
   {
      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)
   //eventsGroup := v1Group.Group("events")
   //{