From ce7ff0effee22807c8d29a31d6f5f2713d3bf95c Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期四, 11 九月 2025 17:39:51 +0800
Subject: [PATCH] Merge branch 'master' into dev-v1.1
---
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 eb13a61..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 authServices from '@/services/api/auth';
export class OssManager {
private static OssInstance: BoleOss;
private static async getOssSTS() {
- return Promise.resolve({});
- // return await accountServices.getOssSTS({
- // showLoading: false,
- // });
+ return await authServices.getAliyunOSSAcs(
+ {},
+ {
+ showLoading: false,
+ }
+ );
}
public static async getOssInstance() {
--
Gitblit v1.9.1