From c848d51eb43c87463fc8ce0b8e4996bb3f80894c Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期三, 22 十月 2025 18:39:24 +0800
Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/flexJobAdminBClient
---
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 2dd5d98..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 accountServices from '@/services/api/Account';
+import * as authServices from '@/services/api/auth';
export class OssManager {
private static OssInstance: BoleOss;
private static async getOssSTS() {
- return await accountServices.getOssSTS({
- showLoading: false,
- });
+ return await authServices.getAliyunOSSAcs(
+ {},
+ {
+ showLoading: false,
+ }
+ );
}
public static async getOssInstance() {
--
Gitblit v1.9.1