From 35cf8d289a09a6a4a34cf3d73fb41d84969ae4ee Mon Sep 17 00:00:00 2001 From: zhangwei <1504152376@qq.com> Date: 星期一, 18 八月 2025 17:30:26 +0800 Subject: [PATCH] '注册修改' --- src/api/types.ts | 31 +++++++++++++++++++++++++++++++ 1 files changed, 31 insertions(+), 0 deletions(-) diff --git a/src/api/types.ts b/src/api/types.ts index 81776b8..884a951 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -4,6 +4,18 @@ code: string | number; message: string; }; +type page = { + items: Array<any>; + total: number; + pageSize: number; + page: number; +}; +export type PageResult = { + success: boolean; + result: page; + code: string | number; + message: string; +}; type captchaImg = { expirySeconds: number; @@ -12,6 +24,25 @@ id: string; }; +type getUploadToken = { + policy: string; + message: string; + DirPath: string; + id: string; + x_oss_signature_version: string; + x_oss_credential: string; + x_oss_date: string; + signature: string; + security_token: string; + url: string; +}; + +export type getUploadTokenResult = { + success: boolean; + result: getUploadToken; + code: string | number; +}; + export type CaptchaResult = { success: boolean; result: captchaImg; -- Gitblit v1.9.1