mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-21 01:09:17 +08:00
42 lines
682 B
Go
42 lines
682 B
Go
export interface Result {
|
|
code: number;
|
|
message: string;
|
|
}
|
|
|
|
export interface ResultData<T> {
|
|
code: number;
|
|
message: string;
|
|
data: T;
|
|
}
|
|
|
|
export interface ResPage<T> {
|
|
items: T[];
|
|
total: number;
|
|
}
|
|
|
|
export interface ReqPage {
|
|
page: number;
|
|
pageSize: number;
|
|
}
|
|
export interface SearchWithPage {
|
|
info: string;
|
|
page: number;
|
|
pageSize: number;
|
|
}
|
|
export interface CommonModel {
|
|
id: number;
|
|
CreatedAt?: string;
|
|
UpdatedAt?: string;
|
|
}
|
|
export interface DescriptionUpdate {
|
|
id: number;
|
|
description: string;
|
|
}
|
|
|
|
// * 文件上传模块
|
|
export namespace Upload {
|
|
export interface ResFileUrl {
|
|
fileUrl: string;
|
|
}
|
|
}
|