添加js模板,页面模板,去掉数据库数据初始化,去掉sql文件中没用语句
This commit is contained in:
1 parent
ba1c7f6193
commit
8faff5384f
29 files changed
+1364
-771
No files matched your search
+366
-255
File diff suppressed because it is too large.
Load diff
+365
-254
File diff suppressed because it is too large.
Load diff
+256
-195
@@ -1,37 +1,15 @@
|
||||
definitions:
|
||||
models.Config:
|
||||
app.Response:
|
||||
properties:
|
||||
configId:
|
||||
description: 编码
|
||||
code:
|
||||
description: 代码
|
||||
example: 200
|
||||
type: integer
|
||||
configKey:
|
||||
description: 参数键名
|
||||
type: string
|
||||
configName:
|
||||
description: 参数名称
|
||||
type: string
|
||||
configType:
|
||||
description: 是否系统内置
|
||||
type: string
|
||||
configValue:
|
||||
description: 参数键值
|
||||
type: string
|
||||
createBy:
|
||||
type: string
|
||||
createTime:
|
||||
type: string
|
||||
dataScope:
|
||||
type: string
|
||||
isDel:
|
||||
type: string
|
||||
params:
|
||||
type: string
|
||||
remark:
|
||||
description: 备注
|
||||
type: string
|
||||
updateBy:
|
||||
type: string
|
||||
updateTime:
|
||||
data:
|
||||
description: 数据集
|
||||
type: object
|
||||
msg:
|
||||
description: 消息
|
||||
type: string
|
||||
type: object
|
||||
models.Dept:
|
||||
@@ -42,31 +20,29 @@ definitions:
|
||||
type: array
|
||||
createBy:
|
||||
type: string
|
||||
createTime:
|
||||
createdAt:
|
||||
type: string
|
||||
dataScope:
|
||||
type: string
|
||||
deletedAt:
|
||||
type: string
|
||||
deptId:
|
||||
description: 部门编码
|
||||
example: 1
|
||||
type: integer
|
||||
x-description: 标示
|
||||
deptath:
|
||||
type: string
|
||||
deptname:
|
||||
deptName:
|
||||
description: 部门名称
|
||||
type: string
|
||||
deptPath:
|
||||
type: string
|
||||
email:
|
||||
description: 邮箱
|
||||
type: string
|
||||
isDel:
|
||||
type: string
|
||||
leader:
|
||||
description: 负责人
|
||||
type: string
|
||||
params:
|
||||
type: string
|
||||
parent_id:
|
||||
parentId:
|
||||
description: 上级部门
|
||||
type: integer
|
||||
phone:
|
||||
@@ -80,7 +56,7 @@ definitions:
|
||||
type: string
|
||||
updateBy:
|
||||
type: string
|
||||
updateTime:
|
||||
updatedAt:
|
||||
type: string
|
||||
type: object
|
||||
models.DictType:
|
||||
@@ -88,13 +64,13 @@ definitions:
|
||||
createBy:
|
||||
description: 创建者
|
||||
type: string
|
||||
createTime:
|
||||
description: 创建时间
|
||||
createdAt:
|
||||
type: string
|
||||
dataScope:
|
||||
type: string
|
||||
deletedAt:
|
||||
type: string
|
||||
dictId:
|
||||
example: 1
|
||||
type: integer
|
||||
dictName:
|
||||
description: 字典名称
|
||||
@@ -102,8 +78,6 @@ definitions:
|
||||
dictType:
|
||||
description: 字典类型
|
||||
type: string
|
||||
isDel:
|
||||
type: string
|
||||
params:
|
||||
type: string
|
||||
remark:
|
||||
@@ -115,8 +89,7 @@ definitions:
|
||||
updateBy:
|
||||
description: 更新者
|
||||
type: string
|
||||
updateTime:
|
||||
description: 更新时间
|
||||
updatedAt:
|
||||
type: string
|
||||
type: object
|
||||
models.Login:
|
||||
@@ -143,21 +116,19 @@ definitions:
|
||||
createBy:
|
||||
description: 创建人
|
||||
type: string
|
||||
createTime:
|
||||
description: 创建时间
|
||||
createdAt:
|
||||
type: string
|
||||
dataScope:
|
||||
description: 数据
|
||||
type: string
|
||||
deletedAt:
|
||||
type: string
|
||||
infoId:
|
||||
description: 主键
|
||||
type: integer
|
||||
ipaddr:
|
||||
description: ip地址
|
||||
type: string
|
||||
isDel:
|
||||
description: 是否删除
|
||||
type: string
|
||||
loginLocation:
|
||||
description: 归属地
|
||||
type: string
|
||||
@@ -170,7 +141,6 @@ definitions:
|
||||
description: 系统
|
||||
type: string
|
||||
params:
|
||||
description: 参数
|
||||
type: string
|
||||
platform:
|
||||
description: 固件
|
||||
@@ -184,10 +154,9 @@ definitions:
|
||||
updateBy:
|
||||
description: 更新者
|
||||
type: string
|
||||
updateTime:
|
||||
description: 更新时间
|
||||
updatedAt:
|
||||
type: string
|
||||
userName:
|
||||
username:
|
||||
description: 用户名
|
||||
type: string
|
||||
type: object
|
||||
@@ -205,15 +174,17 @@ definitions:
|
||||
type: string
|
||||
createBy:
|
||||
type: string
|
||||
createTime:
|
||||
createdAt:
|
||||
type: string
|
||||
dataScope:
|
||||
type: string
|
||||
deletedAt:
|
||||
type: string
|
||||
icon:
|
||||
type: string
|
||||
is_select:
|
||||
type: boolean
|
||||
isDel:
|
||||
isFrame:
|
||||
type: string
|
||||
menuId:
|
||||
type: integer
|
||||
@@ -241,7 +212,7 @@ definitions:
|
||||
type: string
|
||||
updateBy:
|
||||
type: string
|
||||
updateTime:
|
||||
updatedAt:
|
||||
type: string
|
||||
visible:
|
||||
type: string
|
||||
@@ -250,14 +221,12 @@ definitions:
|
||||
properties:
|
||||
createBy:
|
||||
type: string
|
||||
createTime:
|
||||
description: 创建时间
|
||||
createdAt:
|
||||
type: string
|
||||
dataScope:
|
||||
type: string
|
||||
isDel:
|
||||
description: 是否删除
|
||||
type: integer
|
||||
deletedAt:
|
||||
type: string
|
||||
params:
|
||||
type: string
|
||||
postCode:
|
||||
@@ -265,9 +234,7 @@ definitions:
|
||||
type: string
|
||||
postId:
|
||||
description: 岗位编号
|
||||
example: 1
|
||||
type: integer
|
||||
x-description: 标示
|
||||
postName:
|
||||
description: 岗位名称
|
||||
type: string
|
||||
@@ -282,21 +249,42 @@ definitions:
|
||||
type: string
|
||||
updateBy:
|
||||
type: string
|
||||
updateTime:
|
||||
description: 最后修改时间
|
||||
updatedAt:
|
||||
type: string
|
||||
type: object
|
||||
models.Response:
|
||||
models.SysConfig:
|
||||
properties:
|
||||
code:
|
||||
description: 代码
|
||||
example: 200
|
||||
configId:
|
||||
description: 编码
|
||||
type: integer
|
||||
data:
|
||||
description: 数据集
|
||||
type: object
|
||||
msg:
|
||||
description: 错误消息
|
||||
configKey:
|
||||
description: 参数键名
|
||||
type: string
|
||||
configName:
|
||||
description: 参数名称
|
||||
type: string
|
||||
configType:
|
||||
description: 是否系统内置
|
||||
type: string
|
||||
configValue:
|
||||
description: 参数键值
|
||||
type: string
|
||||
createBy:
|
||||
type: string
|
||||
createdAt:
|
||||
type: string
|
||||
dataScope:
|
||||
type: string
|
||||
deletedAt:
|
||||
type: string
|
||||
params:
|
||||
type: string
|
||||
remark:
|
||||
description: 备注
|
||||
type: string
|
||||
updateBy:
|
||||
type: string
|
||||
updatedAt:
|
||||
type: string
|
||||
type: object
|
||||
models.SysOperLog:
|
||||
@@ -309,18 +297,16 @@ definitions:
|
||||
createBy:
|
||||
description: 创建人
|
||||
type: string
|
||||
createTime:
|
||||
description: 创建时间
|
||||
createdAt:
|
||||
type: string
|
||||
dataScope:
|
||||
description: 数据
|
||||
type: string
|
||||
deletedAt:
|
||||
type: string
|
||||
deptName:
|
||||
description: 部门名称
|
||||
type: string
|
||||
isDel:
|
||||
description: 是否删除
|
||||
type: string
|
||||
jsonResult:
|
||||
description: 返回数据
|
||||
type: string
|
||||
@@ -372,11 +358,10 @@ definitions:
|
||||
updateBy:
|
||||
description: 更新者
|
||||
type: string
|
||||
updateTime:
|
||||
description: 更新时间
|
||||
updatedAt:
|
||||
type: string
|
||||
userAgent:
|
||||
description: us
|
||||
description: ua
|
||||
type: string
|
||||
type: object
|
||||
models.SysRole:
|
||||
@@ -385,18 +370,18 @@ definitions:
|
||||
type: boolean
|
||||
createBy:
|
||||
type: string
|
||||
createTime:
|
||||
createdAt:
|
||||
type: string
|
||||
dataScope:
|
||||
type: string
|
||||
deletedAt:
|
||||
type: string
|
||||
deptIds:
|
||||
items:
|
||||
type: integer
|
||||
type: array
|
||||
flag:
|
||||
type: string
|
||||
isDel:
|
||||
type: string
|
||||
menuIds:
|
||||
items:
|
||||
type: integer
|
||||
@@ -422,7 +407,7 @@ definitions:
|
||||
type: string
|
||||
updateBy:
|
||||
type: string
|
||||
updateTime:
|
||||
updatedAt:
|
||||
type: string
|
||||
type: object
|
||||
models.SysUser:
|
||||
@@ -432,19 +417,18 @@ definitions:
|
||||
type: string
|
||||
createBy:
|
||||
type: string
|
||||
createTime:
|
||||
description: 创建时间
|
||||
createdAt:
|
||||
type: string
|
||||
dataScope:
|
||||
type: string
|
||||
deletedAt:
|
||||
type: string
|
||||
deptId:
|
||||
description: 部门编码
|
||||
type: integer
|
||||
email:
|
||||
description: 邮箱
|
||||
type: string
|
||||
isDel:
|
||||
type: string
|
||||
nickName:
|
||||
description: 昵称
|
||||
type: string
|
||||
@@ -475,8 +459,7 @@ definitions:
|
||||
type: string
|
||||
updateBy:
|
||||
type: string
|
||||
updateTime:
|
||||
description: 修改时间
|
||||
updatedAt:
|
||||
type: string
|
||||
userId:
|
||||
description: 编码
|
||||
@@ -506,7 +489,7 @@ paths:
|
||||
name: data
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/models.Config'
|
||||
$ref: '#/definitions/models.SysConfig'
|
||||
type: object
|
||||
responses:
|
||||
"200":
|
||||
@@ -547,7 +530,7 @@ paths:
|
||||
"200":
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
schema:
|
||||
$ref: '#/definitions/models.Response'
|
||||
$ref: '#/definitions/app.Response'
|
||||
security:
|
||||
- "": []
|
||||
summary: 获取配置
|
||||
@@ -566,7 +549,7 @@ paths:
|
||||
"200":
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
schema:
|
||||
$ref: '#/definitions/models.Response'
|
||||
$ref: '#/definitions/app.Response'
|
||||
security:
|
||||
- "": []
|
||||
summary: 获取配置
|
||||
@@ -600,12 +583,60 @@ paths:
|
||||
"200":
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
schema:
|
||||
$ref: '#/definitions/models.Response'
|
||||
$ref: '#/definitions/app.Response'
|
||||
security:
|
||||
- "": []
|
||||
summary: 配置列表数据
|
||||
tags:
|
||||
- 配置
|
||||
/api/v1/db/columns/page:
|
||||
get:
|
||||
description: 数据库表列分页列表 / database table column 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/app.Response'
|
||||
summary: 分页列表数据 / page list data
|
||||
tags:
|
||||
- 工具 / Tools
|
||||
/api/v1/db/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/app.Response'
|
||||
summary: 分页列表数据 / page list data
|
||||
tags:
|
||||
- 工具 / Tools
|
||||
/api/v1/dept:
|
||||
post:
|
||||
consumes:
|
||||
@@ -672,7 +703,7 @@ paths:
|
||||
"200":
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
schema:
|
||||
$ref: '#/definitions/models.Response'
|
||||
$ref: '#/definitions/app.Response'
|
||||
security:
|
||||
- "": []
|
||||
summary: 部门列表数据
|
||||
@@ -715,7 +746,7 @@ paths:
|
||||
"200":
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
schema:
|
||||
$ref: '#/definitions/models.Response'
|
||||
$ref: '#/definitions/app.Response'
|
||||
security:
|
||||
- "": []
|
||||
summary: 分页部门列表数据
|
||||
@@ -732,7 +763,7 @@ paths:
|
||||
name: data
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/models.Config'
|
||||
$ref: '#/definitions/models.DictType'
|
||||
type: object
|
||||
responses:
|
||||
"200":
|
||||
@@ -741,9 +772,9 @@ paths:
|
||||
type: string
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: 添加配置
|
||||
summary: 添加字典数据
|
||||
tags:
|
||||
- 配置
|
||||
- 字典数据
|
||||
put:
|
||||
consumes:
|
||||
- application/json
|
||||
@@ -795,7 +826,7 @@ paths:
|
||||
"200":
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
schema:
|
||||
$ref: '#/definitions/models.Response'
|
||||
$ref: '#/definitions/app.Response'
|
||||
security:
|
||||
- "": []
|
||||
summary: 通过编码获取字典数据
|
||||
@@ -829,7 +860,7 @@ paths:
|
||||
"200":
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
schema:
|
||||
$ref: '#/definitions/models.Response'
|
||||
$ref: '#/definitions/app.Response'
|
||||
security:
|
||||
- "": []
|
||||
summary: 字典数据列表
|
||||
@@ -848,7 +879,7 @@ paths:
|
||||
"200":
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
schema:
|
||||
$ref: '#/definitions/models.Response'
|
||||
$ref: '#/definitions/app.Response'
|
||||
security:
|
||||
- "": []
|
||||
summary: 通过字典类型获取字典数据
|
||||
@@ -928,7 +959,7 @@ paths:
|
||||
"200":
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
schema:
|
||||
$ref: '#/definitions/models.Response'
|
||||
$ref: '#/definitions/app.Response'
|
||||
security:
|
||||
- "": []
|
||||
summary: 通过字典id获取字典类型
|
||||
@@ -962,7 +993,7 @@ paths:
|
||||
"200":
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
schema:
|
||||
$ref: '#/definitions/models.Response'
|
||||
$ref: '#/definitions/app.Response'
|
||||
security:
|
||||
- "": []
|
||||
summary: 字典类型列表数据
|
||||
@@ -1042,7 +1073,7 @@ paths:
|
||||
"200":
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
schema:
|
||||
$ref: '#/definitions/models.Response'
|
||||
$ref: '#/definitions/app.Response'
|
||||
security:
|
||||
- "": []
|
||||
summary: 通过编码获取登录日志
|
||||
@@ -1076,7 +1107,7 @@ paths:
|
||||
"200":
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
schema:
|
||||
$ref: '#/definitions/models.Response'
|
||||
$ref: '#/definitions/app.Response'
|
||||
security:
|
||||
- "": []
|
||||
summary: 登录日志列表
|
||||
@@ -1295,7 +1326,7 @@ paths:
|
||||
"200":
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
schema:
|
||||
$ref: '#/definitions/models.Response'
|
||||
$ref: '#/definitions/app.Response'
|
||||
security:
|
||||
- "": []
|
||||
summary: 通过编码获取登录日志
|
||||
@@ -1346,7 +1377,7 @@ paths:
|
||||
"200":
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
schema:
|
||||
$ref: '#/definitions/models.Response'
|
||||
$ref: '#/definitions/app.Response'
|
||||
security:
|
||||
- "": []
|
||||
summary: 登录日志列表
|
||||
@@ -1372,7 +1403,7 @@ paths:
|
||||
"200":
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
schema:
|
||||
$ref: '#/definitions/models.Response'
|
||||
$ref: '#/definitions/app.Response'
|
||||
security:
|
||||
- "": []
|
||||
summary: 职位列表数据
|
||||
@@ -1452,7 +1483,7 @@ paths:
|
||||
"200":
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
schema:
|
||||
$ref: '#/definitions/models.Response'
|
||||
$ref: '#/definitions/app.Response'
|
||||
security:
|
||||
- "": []
|
||||
summary: 获取字典数据
|
||||
@@ -1486,7 +1517,7 @@ paths:
|
||||
name: data
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/models.Config'
|
||||
$ref: '#/definitions/models.SysRole'
|
||||
type: object
|
||||
responses:
|
||||
"200":
|
||||
@@ -1561,7 +1592,7 @@ paths:
|
||||
"200":
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
schema:
|
||||
$ref: '#/definitions/models.Response'
|
||||
$ref: '#/definitions/app.Response'
|
||||
security:
|
||||
- "": []
|
||||
summary: 角色列表数据
|
||||
@@ -1585,29 +1616,6 @@ paths:
|
||||
summary: RoleMenu列表数据
|
||||
tags:
|
||||
- 角色菜单
|
||||
post:
|
||||
consumes:
|
||||
- application/x-www-form-urlencoded
|
||||
description: 获取JSON
|
||||
parameters:
|
||||
- description: role_id
|
||||
in: formData
|
||||
name: role_id
|
||||
required: true
|
||||
type: string
|
||||
- description: menu_id
|
||||
in: formData
|
||||
name: menu_id
|
||||
required: true
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{"code": -1, "message": "添加失败"}'
|
||||
schema:
|
||||
type: string
|
||||
summary: 创建角色菜单
|
||||
tags:
|
||||
- 角色菜单
|
||||
/api/v1/rolemenu/{id}:
|
||||
delete:
|
||||
description: 删除数据
|
||||
@@ -1629,6 +1637,107 @@ paths:
|
||||
summary: 删除用户菜单数据
|
||||
tags:
|
||||
- 角色菜单
|
||||
/api/v1/sys/tables/info:
|
||||
post:
|
||||
consumes:
|
||||
- application/json
|
||||
description: 添加表结构
|
||||
parameters:
|
||||
- description: tableName / 数据表名称
|
||||
in: query
|
||||
name: tables
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{"code": -1, "message": "添加失败"}'
|
||||
schema:
|
||||
type: string
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: 添加表结构
|
||||
tags:
|
||||
- 工具 - 生成表
|
||||
put:
|
||||
consumes:
|
||||
- application/json
|
||||
description: 修改表结构
|
||||
parameters:
|
||||
- description: body
|
||||
in: body
|
||||
name: data
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/models.Dept'
|
||||
type: object
|
||||
responses:
|
||||
"200":
|
||||
description: '{"code": -1, "message": "添加失败"}'
|
||||
schema:
|
||||
type: string
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: 修改表结构
|
||||
tags:
|
||||
- 工具 - 生成表
|
||||
/api/v1/sys/tables/info/{tableId}:
|
||||
delete:
|
||||
description: 删除表结构
|
||||
parameters:
|
||||
- description: tableId
|
||||
in: path
|
||||
name: tableId
|
||||
required: true
|
||||
type: integer
|
||||
responses:
|
||||
"200":
|
||||
description: '{"code": -1, "message": "删除失败"}'
|
||||
schema:
|
||||
type: string
|
||||
summary: 删除表结构
|
||||
tags:
|
||||
- 工具 - 生成表
|
||||
get:
|
||||
description: 获取JSON
|
||||
parameters:
|
||||
- description: configKey
|
||||
in: path
|
||||
name: configKey
|
||||
required: true
|
||||
type: integer
|
||||
responses:
|
||||
"200":
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
schema:
|
||||
$ref: '#/definitions/app.Response'
|
||||
security:
|
||||
- "": []
|
||||
summary: 获取配置
|
||||
tags:
|
||||
- 工具 - 生成表
|
||||
/api/v1/sys/tables/page:
|
||||
get:
|
||||
description: 生成表分页列表
|
||||
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/app.Response'
|
||||
summary: 分页列表数据
|
||||
tags:
|
||||
- 工具 - 生成表
|
||||
/api/v1/sysUser:
|
||||
get:
|
||||
description: 获取JSON
|
||||
@@ -1636,7 +1745,7 @@ paths:
|
||||
"200":
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
schema:
|
||||
$ref: '#/definitions/models.Response'
|
||||
$ref: '#/definitions/app.Response'
|
||||
security:
|
||||
- "": []
|
||||
summary: 获取用户角色和职位
|
||||
@@ -1675,7 +1784,7 @@ paths:
|
||||
"200":
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
schema:
|
||||
$ref: '#/definitions/models.Response'
|
||||
$ref: '#/definitions/app.Response'
|
||||
security:
|
||||
- "": []
|
||||
summary: 获取用户
|
||||
@@ -1736,30 +1845,6 @@ 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
|
||||
@@ -1767,7 +1852,7 @@ paths:
|
||||
"200":
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
schema:
|
||||
$ref: '#/definitions/models.Response'
|
||||
$ref: '#/definitions/app.Response'
|
||||
security:
|
||||
- "": []
|
||||
summary: 获取当前登录用户
|
||||
@@ -1835,15 +1920,7 @@ paths:
|
||||
- text/html
|
||||
responses:
|
||||
"200":
|
||||
description: 'OK - Load average: 2.39, 2.13, 1.97 | Cores: 2'
|
||||
schema:
|
||||
type: string
|
||||
"429":
|
||||
description: WARNING
|
||||
schema:
|
||||
type: string
|
||||
"500":
|
||||
description: CRITICAL
|
||||
description: OK
|
||||
schema:
|
||||
type: string
|
||||
summary: CPU 使用量
|
||||
@@ -1890,15 +1967,7 @@ paths:
|
||||
- text/html
|
||||
responses:
|
||||
"200":
|
||||
description: 'OK - Free space: 455MB (0GB) / 8192MB (8GB) | Used: 5%'
|
||||
schema:
|
||||
type: string
|
||||
"429":
|
||||
description: WARNING
|
||||
schema:
|
||||
type: string
|
||||
"500":
|
||||
description: CRITICAL
|
||||
description: OK
|
||||
schema:
|
||||
type: string
|
||||
summary: OS
|
||||
@@ -1911,15 +1980,7 @@ paths:
|
||||
- text/html
|
||||
responses:
|
||||
"200":
|
||||
description: 'OK - Free space: 455MB (0GB) / 8192MB (8GB) | Used: 5%'
|
||||
schema:
|
||||
type: string
|
||||
"429":
|
||||
description: WARNING
|
||||
schema:
|
||||
type: string
|
||||
"500":
|
||||
description: CRITICAL
|
||||
description: OK
|
||||
schema:
|
||||
type: string
|
||||
summary: 内存使用量
|
||||
|
||||
Reference in new issue
Block a user