库表列表
GET
/api/gen/db请求参数
Query 参数
tableName
string
表名称
tableComment
string
表描述
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
msg
string
必需
data
object
必需
count
integer
必需
pageNo
integer
必需
pageSize
integer
必需
lists
array [object {4}]
必需
示例
{
"code": 200,
"msg": "成功",
"data": {
"count": 14,
"pageNo": 1,
"pageSize": 20,
"lists": [
{
"tableName": "ls_album",
"tableComment": "相册管理表",
"createTime": "2022-06-10 06:11:08.0",
"updateTime": ""
},
{
"tableName": "ls_album_cate",
"tableComment": "相册分类表",
"createTime": "2022-06-07 01:34:46.0",
"updateTime": ""
},
{
"tableName": "ls_article",
"tableComment": "文章咨询表",
"createTime": "2022-06-07 01:34:46.0",
"updateTime": ""
},
{
"tableName": "ls_article_category",
"tableComment": "文章分类表",
"createTime": "2022-06-07 01:34:46.0",
"updateTime": ""
}
]
}
}
最后修改时间: 2 年前