zhangqian
2023-11-09 71b0e418839dda386043fb6cad1ec335bcdc06c6
api/v1/device.go
@@ -56,14 +56,14 @@
   ctx.Ok()
}
// SetDeviceConfig
// Config
// @Tags      设备
// @Summary   设置设备一些配置
// @Produce   application/json
// @Param     object  body    request.DeviceConfig true  "查询参数"
// @Success   200   {object}  contextx.Response{}  "成功"
// @Router    /v1/device/config [post]
func (slf *DeviceApi) config(c *gin.Context) {
func (slf *DeviceApi) Config(c *gin.Context) {
   var params request.DeviceConfig
   ctx, ok := contextx.NewContext(c, &params)
   if !ok {