zhengyiming
8 天以前 b80dfac43870bb6991228fc01d32b3d5e428283d
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(),