Initial commit
This commit is contained in:
60
src/api/apps/link/model/index.ts
Normal file
60
src/api/apps/link/model/index.ts
Normal file
@@ -0,0 +1,60 @@
|
||||
import type { PageParam } from '@/api';
|
||||
|
||||
/**
|
||||
* 链接
|
||||
*/
|
||||
export interface Link {
|
||||
// 链接类型
|
||||
menuType?: number;
|
||||
// 链接id
|
||||
linkId?: number;
|
||||
// 链接地址
|
||||
linkUrl?: string;
|
||||
// 下载地址
|
||||
linkDown?: string;
|
||||
// 链接名称
|
||||
linkName?: string;
|
||||
// 链接图标
|
||||
linkIcon?: string;
|
||||
// 组件路径
|
||||
linkComponent?: string;
|
||||
// 访问账号
|
||||
linkAccount?: string;
|
||||
// 访问密码
|
||||
linkPassword?: string;
|
||||
// 点击次数
|
||||
clicks?: number;
|
||||
// 类型
|
||||
type?: string;
|
||||
// 分类
|
||||
category?: string;
|
||||
// 推荐理由
|
||||
comments?: string;
|
||||
// 排序
|
||||
sortNumber?: number;
|
||||
// 创建时间
|
||||
createTime?: string;
|
||||
// 打开方式
|
||||
openType?: number;
|
||||
hide?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* 链接搜索条件
|
||||
*/
|
||||
export interface LinkParam extends PageParam {
|
||||
// 链接名称
|
||||
linkName?: string;
|
||||
// 链接
|
||||
linkUrl?: string;
|
||||
// 第几页
|
||||
page?: number;
|
||||
// 每页多少条
|
||||
limit?: number;
|
||||
// 总数量
|
||||
count?: number;
|
||||
// 列表数据
|
||||
list?: [];
|
||||
// 商户编号
|
||||
merchantCode?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user