ソースを参照

文件中心地址改为https

huangxiaojing 3 年 前
コミット
39eadd54b0
共有2 個のファイルを変更した2 個の追加2 個の削除を含む
  1. 1 1
      microserviceUserH5/static/js/vender/vue/config.js
  2. 1 1
      microserviceUserH5/vcloud/register.html

+ 1 - 1
microserviceUserH5/static/js/vender/vue/config.js

@@ -12,7 +12,7 @@ var base_url = baseUrl; //测试服务器
 //var base_url = 'http://**********'; //正式服务器
 
 
-const fileCenterApi = window.location.protocol + '//file.phone.androidscloud.com:8121';
+const fileCenterApi = 'https://file.phone.androidscloud.com:8121';
 //const fileCenterApi = 'https://prese.phone.androidscloud.com/'
 // https://prese.phone.androidscloud.com/
 // https://prese.phone.androidscloud.com/

+ 1 - 1
microserviceUserH5/vcloud/register.html

@@ -173,7 +173,7 @@
     function getHead(fileId) {
       $('.head img').attr('src', '../static/img/invite/header-img.png');
       if (fileId) {
-        $('.head img').attr('src', window.location.protocol + `//file.phone.androidscloud.com:8121/document/newFile/download/0/edv834e74a9c43eaac02?fileKey=` + fileId);
+        $('.head img').attr('src', `https://file.phone.androidscloud.com:8121/document/newFile/download/0/edv834e74a9c43eaac02?fileKey=` + fileId);
       }
     }
     function encrypt(word, keyStr) {