zhengyiming
5 天以前 3523a775d9ce415d236f8ece80f753de360a7024
packages/utils/ossSTS.ts
@@ -1,4 +1,4 @@
import * as accountServices from '@12333/services/api/Account';
import * as authServices from '@12333/services/apiV2/auth';
type CacheData = {
  data: API.OssSTSReponse;
@@ -17,9 +17,12 @@
      }
    }
    let res = await accountServices.getOssSTS({
      showLoading: false,
    });
    let res = await authServices.getAliyunOSSAcs(
      {},
      {
        showLoading: false,
      }
    );
    this.cache[this.cacheKey] = {
      data: res,
      time: new Date().getTime(),