修改养殖端小程序,保险前后端和小程序

This commit is contained in:
xuqiuyun
2025-09-19 18:13:07 +08:00
parent eb3c4604d3
commit 35db747d4f
89 changed files with 16231 additions and 1500 deletions

View File

@@ -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: {