zhengyiming
6 天以前 20459fe59f680031bfc7c1012be860e0727cb016
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() {