修改养殖端小程序,保险前后端和小程序
This commit is contained in:
@@ -46,6 +46,69 @@ const swaggerDefinition = {
|
||||
updatedAt: { type: 'string', format: 'date-time', description: '更新时间' }
|
||||
}
|
||||
},
|
||||
Menu: {
|
||||
type: 'object',
|
||||
properties: {
|
||||
id: {
|
||||
type: 'integer',
|
||||
description: '菜单ID'
|
||||
},
|
||||
name: {
|
||||
type: 'string',
|
||||
description: '菜单名称'
|
||||
},
|
||||
key: {
|
||||
type: 'string',
|
||||
description: '菜单唯一标识'
|
||||
},
|
||||
path: {
|
||||
type: 'string',
|
||||
description: '路由路径'
|
||||
},
|
||||
icon: {
|
||||
type: 'string',
|
||||
description: '菜单图标'
|
||||
},
|
||||
parent_id: {
|
||||
type: 'integer',
|
||||
description: '父菜单ID'
|
||||
},
|
||||
component: {
|
||||
type: 'string',
|
||||
description: '组件路径'
|
||||
},
|
||||
order: {
|
||||
type: 'integer',
|
||||
description: '排序号'
|
||||
},
|
||||
status: {
|
||||
type: 'string',
|
||||
enum: ['active', 'inactive'],
|
||||
description: '菜单状态'
|
||||
},
|
||||
show: {
|
||||
type: 'boolean',
|
||||
description: '是否显示'
|
||||
},
|
||||
children: {
|
||||
type: 'array',
|
||||
items: {
|
||||
$ref: '#/components/schemas/Menu'
|
||||
},
|
||||
description: '子菜单列表'
|
||||
},
|
||||
created_at: {
|
||||
type: 'string',
|
||||
format: 'date-time',
|
||||
description: '创建时间'
|
||||
},
|
||||
updated_at: {
|
||||
type: 'string',
|
||||
format: 'date-time',
|
||||
description: '更新时间'
|
||||
}
|
||||
}
|
||||
},
|
||||
InsuranceApplication: {
|
||||
type: 'object',
|
||||
properties: {
|
||||
|
||||
Reference in New Issue
Block a user