fix:修复博客分页错误

This commit is contained in:
2025-06-19 20:01:01 +08:00
parent 6cc2ba28a0
commit e5ff5608a8
3 changed files with 15 additions and 14 deletions

View File

@@ -1,11 +1,3 @@
/**
* 展示数据形式
*/
export enum ShowDataEnum {
DATA = 'DATA',
CHART = 'CHART',
}
export enum ImagePathEnum {
BLOG= 'blog',
BILL = 'bill',
@@ -17,6 +9,14 @@ export enum ImagePathEnum {
USER = 'user'
}
export interface IPageRecord<T> {
current: number;
size: number;
total: number;
pages: number;
records: T[];
}
export type IDateType = 'month' | 'year'
export interface ICategory {