From 7faf1532a00bb886860ea5150cf80939b0b69f81 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期一, 20 十月 2025 16:32:22 +0800
Subject: [PATCH] fix: bug
---
src/utils/oss/index.ts | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/src/utils/oss/index.ts b/src/utils/oss/index.ts
index 9501e36..76efceb 100644
--- a/src/utils/oss/index.ts
+++ b/src/utils/oss/index.ts
@@ -1,15 +1,18 @@
import { BoleOss } from '@bole-core/core';
import { loadEnv } from '@build/index';
import AliOSS from 'ali-oss';
-import * as userServices from '@/services/api/User';
+import * as authServices from '@/services/api/auth';
export class OssManager {
private static OssInstance: BoleOss;
private static async getOssSTS() {
- return await userServices.getOssSTS({
- showLoading: false,
- });
+ return await authServices.getAliyunOSSAcs(
+ {},
+ {
+ showLoading: false,
+ }
+ );
}
public static async getOssInstance() {
--
Gitblit v1.9.1