add
wangpengfei
2023-07-17 30f137e85a76420d872a96c30b2177f59e9706d2
docs/swagger.yaml
@@ -329,10 +329,14 @@
    type: object
  model.FollowRecord:
    properties:
      client:
        $ref: '#/definitions/model.Client'
      client_id:
        type: integer
      client_status_id:
        type: integer
      contact:
        $ref: '#/definitions/model.Contact'
      contact_id:
        type: integer
      contact_information_id:
@@ -873,6 +877,10 @@
    properties:
      authorityName:
        type: string
      casbinInfos:
        items:
          $ref: '#/definitions/request.CasbinInfo'
        type: array
    type: object
  request.AddCity:
    properties:
@@ -1406,6 +1414,15 @@
      subOrder:
        $ref: '#/definitions/request.SubOrder'
    type: object
  request.CasbinInfo:
    properties:
      method:
        description: 方法
        type: string
      path:
        description: 路径
        type: string
    type: object
  request.ChangePasswordReq:
    properties:
      newPassword:
@@ -1743,6 +1760,15 @@
        type: string
      status:
        type: integer
    type: object
  request.SetAuthorityMenu:
    properties:
      authorityId:
        type: integer
      menus:
        items:
          type: integer
        type: array
    type: object
  request.SetCity:
    properties:
@@ -2861,6 +2887,29 @@
      security:
      - ApiKeyAuth: []
      summary: 创建角色
      tags:
      - Authority
  /api/authority/setMenuAuthority:
    post:
      consumes:
      - application/json
      parameters:
      - description: 设置角色资源权限
        in: body
        name: data
        required: true
        schema:
          $ref: '#/definitions/request.SetAuthorityMenu'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      security:
      - ApiKeyAuth: []
      summary: 设置角色菜单
      tags:
      - Authority
  /api/base/captcha:
@@ -4033,6 +4082,12 @@
      - MasterOrder
  /api/menu/getMenu:
    get:
      parameters:
      - description: Authorization
        in: header
        name: Authorization
        required: true
        type: string
      produces:
      - application/json
      responses:
@@ -4045,6 +4100,8 @@
                data:
                  $ref: '#/definitions/response.MenuTreeResponse'
              type: object
      security:
      - ApiKeyAuth: []
      summary: 获取菜单树
      tags:
      - Menu
@@ -5754,23 +5811,4 @@
      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"