From 7339b8a9ccf09e6262cb71ac6c9b724cdfa6fe22 Mon Sep 17 00:00:00 2001 From: zhangwei <1504152376@qq.com> Date: 星期五, 15 八月 2025 16:43:32 +0800 Subject: [PATCH] 'pdf预览'’’ --- 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