You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
969 B
52 lines
969 B
import type { PageParam } from '@/api';
|
|
|
|
/**
|
|
* 小程序页面
|
|
*/
|
|
export interface MpPages {
|
|
// ID
|
|
id?: number;
|
|
// 上级id, 0是顶级
|
|
parentId?: number;
|
|
// 页面名称
|
|
title?: string;
|
|
// 页面路径
|
|
path?: string;
|
|
// 设为首页
|
|
home?: number;
|
|
// 分包
|
|
subpackage?: string;
|
|
// 图标
|
|
icon?: string;
|
|
// (优先级高于图标)
|
|
iconPath?: string;
|
|
// (优先级高于图标)
|
|
selectedIconPath?: string;
|
|
// 排序(数字越小越靠前)
|
|
sortNumber?: number;
|
|
// 备注
|
|
comments?: string;
|
|
// 用户ID
|
|
userId?: number;
|
|
// 状态, 0正常, 1冻结
|
|
status?: number;
|
|
// 是否删除, 0否, 1是
|
|
deleted?: number;
|
|
// 租户id
|
|
tenantId?: number;
|
|
// 注册时间
|
|
createTime?: string;
|
|
// 子页面
|
|
children?: MpPages[];
|
|
}
|
|
|
|
/**
|
|
* 小程序页面搜索条件
|
|
*/
|
|
export interface MpPagesParam extends PageParam {
|
|
id?: number;
|
|
title?: string;
|
|
path?: string;
|
|
subpackage?: string;
|
|
keywords?: string;
|
|
}
|