Code generation module
This commit is contained in:
1 parent
e149589990
commit
65dbf587f9
13 files changed
+497
-62
No files matched your search
+41
-17
@@ -488,7 +488,7 @@ info:
|
||||
contact: {}
|
||||
description: |-
|
||||
基于Gin + Vue + Element UI的前后端分离权限管理系统的接口文档
|
||||
添加微信号: zwj891129 进入技术交流微信群 请备注,谢谢!
|
||||
添加qq群: 74520518 进入技术交流群 请备注,谢谢!
|
||||
license:
|
||||
name: MIT
|
||||
url: https://github.com/wenjianzhang/go-admin/blob/master/LICENSE.md
|
||||
@@ -732,7 +732,7 @@ paths:
|
||||
name: data
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/models.DictType'
|
||||
$ref: '#/definitions/models.Config'
|
||||
type: object
|
||||
responses:
|
||||
"200":
|
||||
@@ -741,9 +741,9 @@ paths:
|
||||
type: string
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: 添加字典数据
|
||||
summary: 添加配置
|
||||
tags:
|
||||
- 字典数据
|
||||
- 配置
|
||||
put:
|
||||
consumes:
|
||||
- application/json
|
||||
@@ -1475,7 +1475,7 @@ paths:
|
||||
- Bearer: []
|
||||
summary: 获取Role数据
|
||||
tags:
|
||||
- 角色
|
||||
- 角色/Role
|
||||
post:
|
||||
consumes:
|
||||
- application/json
|
||||
@@ -1495,7 +1495,7 @@ paths:
|
||||
type: string
|
||||
summary: 创建角色
|
||||
tags:
|
||||
- 角色
|
||||
- 角色/Role
|
||||
put:
|
||||
consumes:
|
||||
- application/json
|
||||
@@ -1515,7 +1515,7 @@ paths:
|
||||
type: string
|
||||
summary: 修改用户角色
|
||||
tags:
|
||||
- 角色
|
||||
- 角色/Role
|
||||
/api/v1/role/{roleId}:
|
||||
delete:
|
||||
description: 删除数据
|
||||
@@ -1532,22 +1532,22 @@ paths:
|
||||
type: string
|
||||
summary: 删除用户角色
|
||||
tags:
|
||||
- 角色
|
||||
- 角色/Role
|
||||
/api/v1/rolelist:
|
||||
get:
|
||||
description: 获取JSON
|
||||
description: Get JSON
|
||||
parameters:
|
||||
- description: configKey
|
||||
- description: roleName
|
||||
in: query
|
||||
name: configKey
|
||||
name: roleName
|
||||
type: string
|
||||
- description: configName
|
||||
- description: status
|
||||
in: query
|
||||
name: configName
|
||||
name: status
|
||||
type: string
|
||||
- description: configType
|
||||
- description: roleKey
|
||||
in: query
|
||||
name: configType
|
||||
name: roleKey
|
||||
type: string
|
||||
- description: 页条数
|
||||
in: query
|
||||
@@ -1564,9 +1564,9 @@ paths:
|
||||
$ref: '#/definitions/models.Response'
|
||||
security:
|
||||
- "": []
|
||||
summary: 配置列表数据
|
||||
summary: 角色列表数据
|
||||
tags:
|
||||
- 配置
|
||||
- 角色/Role
|
||||
/api/v1/rolemenu:
|
||||
get:
|
||||
description: 获取JSON
|
||||
@@ -1736,6 +1736,30 @@ paths:
|
||||
summary: 修改用户数据
|
||||
tags:
|
||||
- 用户
|
||||
/api/v1/tables/page:
|
||||
get:
|
||||
description: 数据库表分页列表 / database table page list
|
||||
parameters:
|
||||
- description: tableName / 数据表名称
|
||||
in: query
|
||||
name: tableName
|
||||
type: string
|
||||
- description: pageSize / 页条数
|
||||
in: query
|
||||
name: pageSize
|
||||
type: integer
|
||||
- description: pageIndex / 页码
|
||||
in: query
|
||||
name: pageIndex
|
||||
type: integer
|
||||
responses:
|
||||
"200":
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
schema:
|
||||
$ref: '#/definitions/models.Response'
|
||||
summary: 分页列表数据 / page list data
|
||||
tags:
|
||||
- 工具 / Tools
|
||||
/api/v1/user/profile:
|
||||
get:
|
||||
description: 获取JSON
|
||||
|
||||
Reference in new issue
Block a user