| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167 |
- basePath: /system
- definitions:
- response.Response:
- properties:
- code:
- description: 代码
- example: 200
- type: integer
- data:
- description: 数据集
- type: object
- msg:
- description: 消息
- type: string
- type: object
- sys_dept.AddParams:
- properties:
- ancestors:
- type: string
- createBy:
- type: string
- createTime:
- type: string
- delFlag:
- type: string
- deptName:
- type: string
- email:
- type: string
- leader:
- type: string
- orderNum:
- type: integer
- parentId:
- type: integer
- phone:
- type: string
- status:
- type: string
- updateBy:
- type: string
- updateTime:
- type: string
- type: object
- sys_dept.EditParams:
- properties:
- ancestors:
- type: string
- createBy:
- type: string
- createTime:
- type: string
- delFlag:
- type: string
- deptId:
- type: integer
- deptName:
- type: string
- email:
- type: string
- leader:
- type: string
- orderNum:
- type: integer
- parentId:
- type: integer
- phone:
- type: string
- status:
- type: string
- updateBy:
- type: string
- updateTime:
- type: string
- type: object
- host: localhost
- info:
- contact: {}
- description: gfast 在线API文档
- license: {}
- title: gfast API文档
- version: "1.0"
- paths:
- /system/dept/addDept:
- post:
- consumes:
- - application/json
- description: 获取JSON
- parameters:
- - description: data
- in: body
- name: data
- required: true
- schema:
- $ref: '#/definitions/sys_dept.AddParams'
- responses:
- "200":
- description: '{"code": 0, "message": "添加成功"}'
- schema:
- $ref: '#/definitions/response.Response'
- security:
- - Bearer: []
- summary: 添加部门
- tags:
- - 部门
- /system/dept/delDept/{id}:
- delete:
- description: 删除数据
- parameters:
- - description: id
- in: path
- name: id
- required: true
- type: integer
- responses:
- "200":
- description: '{"code": 0, "message": "删除成功"}'
- schema:
- $ref: '#/definitions/response.Response'
- summary: 删除部门
- tags:
- - 部门
- /system/dept/editDept:
- post:
- consumes:
- - application/json
- description: 获取JSON
- parameters:
- - description: data
- in: body
- name: data
- required: true
- schema:
- $ref: '#/definitions/sys_dept.EditParams'
- responses:
- "200":
- description: '{"code": 0, "message": "修改成功"}'
- schema:
- $ref: '#/definitions/response.Response'
- security:
- - Bearer: []
- summary: 修改部门
- tags:
- - 部门
- /system/dept/list:
- get:
- description: 分页列表
- parameters:
- - description: deptName
- in: query
- name: deptName
- type: string
- - description: status
- in: query
- name: status
- type: string
- responses:
- "0":
- description: '{"code": 200, "data": [...]}'
- schema:
- $ref: '#/definitions/response.Response'
- security:
- - "": []
- summary: 分页部门列表数据
- tags:
- - 部门
- swagger: "2.0"
|