From 78921416615f450f4cc29ec4f740fbf1b47d8b00 Mon Sep 17 00:00:00 2001 From: zhangwei <1504152376@qq.com> Date: 星期二, 19 八月 2025 17:18:28 +0800 Subject: [PATCH] 注册登录更改 --- src/api/upload/index.ts | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/api/upload/index.ts b/src/api/upload/index.ts index 727dbe8..0855e0e 100644 --- a/src/api/upload/index.ts +++ b/src/api/upload/index.ts @@ -6,11 +6,14 @@ import { http } from "@/utils/http"; import { baseUrlApi, uploadUrlApi } from "../util"; -import type { Result } from "../types"; +import type { Result, getUploadTokenResult } from "../types"; // 鑾峰彇涓婁紶Token export const getUploadToken = () => { - return http.request<Result>("get", baseUrlApi("/api/upFile/token")); + return http.request<getUploadTokenResult>( + "get", + baseUrlApi("/api/upFile/token") + ); }; export const uploadFileAli11 = (data, key) => { -- Gitblit v1.9.1