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.
71 lines
1.2 KiB
71 lines
1.2 KiB
import type { PageParam } from '@/api';
|
|
|
|
/**
|
|
* 文档
|
|
*/
|
|
export interface Docs {
|
|
// 文档id
|
|
docsId?: number;
|
|
// 文档标题
|
|
title?: string;
|
|
// 文档类型 0目录 1文档
|
|
type?: number;
|
|
// 展现方式
|
|
showType?: number;
|
|
// 文档类型
|
|
categoryId?: number;
|
|
// 上级分类
|
|
parentId?: number;
|
|
// 封面图
|
|
avatar?: string;
|
|
// 来源
|
|
source?: string;
|
|
// 文档内容
|
|
content?: string;
|
|
// 虚拟阅读量
|
|
virtualViews?: string;
|
|
// 实际阅读量
|
|
actualViews?: string;
|
|
// 用户ID
|
|
userId?: string;
|
|
// 用户昵称
|
|
nickname?: string;
|
|
// 账号
|
|
username?: string;
|
|
// 用户头像
|
|
userAvatar?: string;
|
|
// 所属门店ID
|
|
shopId?: string;
|
|
// 排序
|
|
sortNumber?: number;
|
|
// 备注
|
|
comments?: string;
|
|
// 状态
|
|
status?: number;
|
|
// 创建时间
|
|
createTime?: string;
|
|
// 更新时间
|
|
updateTime?: string;
|
|
//
|
|
key?: number;
|
|
//
|
|
value?: number;
|
|
//
|
|
docsContentId?: number;
|
|
}
|
|
|
|
/**
|
|
* 文档搜索条件
|
|
*/
|
|
export interface DocsParam extends PageParam {
|
|
title?: string;
|
|
docsId?: number;
|
|
categoryId?: string;
|
|
status?: string;
|
|
sortNumber?: string;
|
|
createTime?: string;
|
|
username?: string;
|
|
nickname?: string;
|
|
// 商户编号
|
|
merchantCode?: string;
|
|
}
|