From 2552d79ce9870f32bd2e35085b450548f9b538c8 Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期三, 06 十一月 2024 14:19:25 +0800 Subject: [PATCH] 限制上传文件的格式 --- src/api/system/oss/index.ts | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/system/oss/index.ts b/src/api/system/oss/index.ts index 57c5ad4..f9fcfc8 100644 --- a/src/api/system/oss/index.ts +++ b/src/api/system/oss/index.ts @@ -29,8 +29,8 @@ export function createUser(winIp: string | number | Array<string | number>) { return request({ url: '/auth/auto' , - method: 'put', - data: winIp + method: 'get', + params: winIp }); } export function examineIds(ossId: string | number) { -- Gitblit v1.8.0