add
wangpengfei
2023-07-14 5f00d720ea52ababeb10954da4d33ab6c46e93b7
docs/swagger.yaml
@@ -384,6 +384,24 @@
      start_time:
        type: string
    type: object
  model.Menu:
    properties:
      children:
        items:
          $ref: '#/definitions/model.Menu'
        type: array
      id:
        description: 主键ID
        type: integer
      name:
        type: string
      parentId:
        type: integer
      path:
        type: string
      title:
        type: string
    type: object
  model.Plan:
    properties:
      clientId:
@@ -849,6 +867,11 @@
      userType:
        $ref: '#/definitions/constvar.UserType'
      username:
        type: string
    type: object
  request.AddAuthority:
    properties:
      authorityName:
        type: string
    type: object
  request.AddCity:
@@ -2673,6 +2696,13 @@
          $ref: '#/definitions/model.MasterOrder'
        type: array
    type: object
  response.MenuTreeResponse:
    properties:
      list:
        items:
          $ref: '#/definitions/model.Menu'
        type: array
    type: object
  response.PageResult:
    properties:
      list: {}
@@ -2810,6 +2840,29 @@
info:
  contact: {}
paths:
  /api/authority/add:
    post:
      consumes:
      - application/json
      parameters:
      - description: 查询参数
        in: body
        name: data
        required: true
        schema:
          $ref: '#/definitions/request.AddAuthority'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      security:
      - ApiKeyAuth: []
      summary: 创建角色
      tags:
      - Authority
  /api/base/captcha:
    post:
      produces:
@@ -3978,6 +4031,23 @@
      summary: 更新主订单
      tags:
      - MasterOrder
  /api/menu/getMenu:
    get:
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            allOf:
            - $ref: '#/definitions/contextx.Response'
            - properties:
                data:
                  $ref: '#/definitions/response.MenuTreeResponse'
              type: object
      summary: 获取菜单树
      tags:
      - Menu
  /api/orderManage/add:
    post:
      parameters:
@@ -5684,4 +5754,23 @@
      summary: 设置用户信息
      tags:
      - User
  /authority/setDataAuthority:
    post:
      consumes:
      - application/json
      parameters:
      - description: 设置角色资源权限
        in: body
        name: data
        required: true
        schema:
          $ref: '#/definitions/request.AddAuthority'
      produces:
      - application/json
      responses: {}
      security:
      - ApiKeyAuth: []
      summary: 设置角色资源权限
      tags:
      - Authority
swagger: "2.0"