refactor travel

This commit is contained in:
Timi
2025-12-13 18:44:37 +08:00
parent 880e702288
commit 69659a1746
37 changed files with 4154 additions and 400 deletions

View File

@ -8,10 +8,20 @@ export type Model = {
}
/** 基本返回对象 */
export type Response = {
export type Response<T> = {
code: number;
msg?: string;
data: object;
data: T;
}
/** 临时文件返回 */
export type TempFileResponse = {
/** 临时文件 ID */
id: string;
/** 过期于 */
expireAt: number;
}
/** 基本页面查询对象 */
@ -27,7 +37,7 @@ export type QueryPage = {
orderMap?: { [key: string]: OrderType };
/** 全等比较条件AND 连接) */
equalsExample?: { [key: string]: string | undefined | null };
equalsExample?: { [key: string]: string | number | undefined | null };
/** 模糊查询条件OR 连接) */
likeExample?: { [key: string]: string | undefined | null };