| | |
| | | // @Summary 获取当前面板绑定的设备列表 |
| | | // @Produce application/json |
| | | // @Success 200 {object} contextx.Response{data=response.DeviceListResponse} "成功" |
| | | // @Router /v1/device/list [post] |
| | | // @Router /v1/device/list [get] |
| | | func (slf *DeviceApi) DeviceList(c *gin.Context) { |
| | | ctx, ok := contextx.NewContext(c, nil) |
| | | if !ok { |
| | |
| | | } |
| | | }, |
| | | "/v1/device/list": { |
| | | "post": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | |
| | | } |
| | | }, |
| | | "/v1/device/list": { |
| | | "post": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | |
| | | tags: |
| | | - Config |
| | | /v1/device/list: |
| | | post: |
| | | get: |
| | | produces: |
| | | - application/json |
| | | responses: |