From 0f54604435521d08c803e0ef30b363c97f230724 Mon Sep 17 00:00:00 2001 From: Michelle.Chung <1242874891@qq.com> Date: 星期五, 16 六月 2023 20:32:46 +0800 Subject: [PATCH] update 适配登录重构的修改(修改token命名, 修改接口传参) ; --- src/plugins/download.ts | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/plugins/download.ts b/src/plugins/download.ts index 2640763..e1c4414 100644 --- a/src/plugins/download.ts +++ b/src/plugins/download.ts @@ -9,7 +9,7 @@ let downloadLoadingInstance: LoadingInstance; export default { async oss(ossId: string | number) { - const url = baseURL + '/system/oss/download/' + ossId; + const url = baseURL + '/resource/oss/download/' + ossId; downloadLoadingInstance = ElLoading.service({ text: '姝e湪涓嬭浇鏁版嵁锛岃绋嶅��', background: 'rgba(0, 0, 0, 0.7)' }); try { const res = await axios({ -- Gitblit v1.9.3