| | |
| | | export const OSSBaseURL = process.env.OSS_URL; |
| | | const _basicPath = '12333/MiniApp/'; |
| | | const _basicPath = 'flexJob/miniApp/'; |
| | | |
| | | export const OssResource = _basicPath + 'Resource/'; |
| | | export const OssMedia = _basicPath + 'Media/'; |
| | |
| | | import * as accountServices from '@12333/services/api/Account'; |
| | | import * as authServices from '@12333/services/apiV2/auth'; |
| | | |
| | | type CacheData = { |
| | | data: API.OssSTSReponse; |
| | |
| | | } |
| | | } |
| | | |
| | | let res = await accountServices.getOssSTS({ |
| | | let res = await authServices.getAliyunOSSAcs( |
| | | {}, |
| | | { |
| | | showLoading: false, |
| | | }); |
| | | } |
| | | ); |
| | | this.cache[this.cacheKey] = { |
| | | data: res, |
| | | time: new Date().getTime(), |