zhangqian
2023-11-03 53d80c839ad2aad0a0482ca43fca1fc3a95b9d1c
更改路由
1个文件已修改
4 ■■■■ 已修改文件
router/index.go 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
router/index.go
@@ -71,8 +71,8 @@
    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
    }
    systemApi := new(v1.SystemApi)