张延森 5 years ago
parent
commit
c4485f8143
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/utils/tools.js

+ 1
- 1
src/utils/tools.js View File

@@ -160,7 +160,7 @@ export function getDownloadURL(url, type) {
160 160
     case 'avatar':
161 161
       return url.replace('https://wx.qlogo.cn/', `${HOST}/qlogo/`);
162 162
     case 'alioss':
163
-      return url.replace('https://estateagents.oss-cn-shanghai.aliyuncs.com/', `${HOST}/alioss/`);
163
+      return url.replace('https://estateagents.oss-cn-shanghai.aliyuncs.com/', `${HOST}/alioss/`).replace('https://estateagents.oss-accelerate.aliyuncs.com/', `${HOST}/alioss/`);
164 164
     default:
165 165
       return url;
166 166
   }