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.
33 lines
502 B
33 lines
502 B
|
|
// 后端返回的数据类型
|
|
export interface ResOptions<t> {
|
|
data?: t
|
|
code?: number
|
|
msg?: string
|
|
}
|
|
export interface PaginationDto<T> {
|
|
data?: T;
|
|
total?: number;
|
|
current_page?: number;
|
|
last_page?: number;
|
|
per_page?: number;
|
|
}
|
|
export interface PaginationVo {
|
|
page?: number;
|
|
limit?: number;
|
|
keyword?: string;
|
|
}
|
|
export interface InformationDto {
|
|
title: string;
|
|
id: any;
|
|
description?: string;
|
|
category_id?: any;
|
|
|
|
updatetime?: any;
|
|
|
|
createtime?: any;
|
|
|
|
image?: any;
|
|
|
|
}
|