From 5d145825f6a13c1e321a717bf371cdfacbda30ab Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期四, 14 十一月 2024 12:09:46 +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