- 授权
- 验证码
- LinuxDo OAuth2
- 系统部门
- 系统字典数据
- 系统字典类型
- 系统角色
- 系统用户
- 登录日志
- 操作日志
- redis监控
- 服务器监控
- 代码生成
- 任务
- 系统通知公告
- 系统参数配置
- 系统菜单
- 系统插件
- 系统数据规则
- 系统数据范围
- Github OAuth2
- 系统文件
- 会话监控
获取代码生成业务所有模型
GET
/api/v1/gen/businesses/{pk}/models
代码生成
OperationId:get_business_all_models
请求参数
Path 参数
pk
integer
Pk
返回响应
🟢200成功
application/json
Body
code
integer
Code
默认值:
200
msg
string
Msg
默认值:
请求成功
data
array[object (GetGenModelDetail) {11}]
Data
name
string
Name
comment
Comment
type
string
Type
default
Default
sort
integer
Sort
length
integer
Length
is_pk
boolean
Is Pk
默认值:
false
is_nullable
boolean
Is Nullable
默认值:
false
gen_business_id
integer
Gen Business Id
id
integer
Id
pd_type
string
Pd Type
示 例
{
"code": 200,
"msg": "请求成功",
"data": [
{
"name": "string",
"comment": "string",
"type": "string",
"default": "string",
"sort": 0,
"length": 0,
"is_pk": false,
"is_nullable": false,
"gen_business_id": 0,
"id": 0,
"pd_type": "string"
}
]
}
🟠422参数错误
修改于 2025-06-18 16:22:27