zhangqian
2023-11-01 a1ee8a8943297956a118ce624bb03c97ea45ed75
update doc
4个文件已修改
8 ■■■■ 已修改文件
api/v1/device.go 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
docs/docs.go 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
docs/swagger.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
docs/swagger.yaml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
api/v1/device.go
@@ -61,7 +61,7 @@
// @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 {
docs/docs.go
@@ -153,7 +153,7 @@
            }
        },
        "/v1/device/list": {
            "post": {
            "get": {
                "produces": [
                    "application/json"
                ],
docs/swagger.json
@@ -141,7 +141,7 @@
            }
        },
        "/v1/device/list": {
            "post": {
            "get": {
                "produces": [
                    "application/json"
                ],
docs/swagger.yaml
@@ -674,7 +674,7 @@
      tags:
      - Config
  /v1/device/list:
    post:
    get:
      produces:
      - application/json
      responses: