Browse Source

调整文件中心key和地址

heyang 3 years ago
parent
commit
ed28837daa

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

@@ -12,7 +12,7 @@ var base_url = baseUrl; //测试服务器
 //var base_url = 'http://**********'; //正式服务器
 
 
-const fileCenterApi = baseUrl.includes('prese.phone.androidscloud.com')?'http://110.53.221.195:8210':'https://wjzx.androidscloud.com:9091';
+const fileCenterApi = 'http://110.53.221.195:8210';
 //const fileCenterApi = 'https://prese.phone.androidscloud.com/'
 // https://prese.phone.androidscloud.com/
 // https://prese.phone.androidscloud.com/

+ 2 - 2
microserviceUserH5/vcloud/actFission.html

@@ -329,7 +329,7 @@
 				<div class="select-title">选择你要分享的内容</div>
 				<div class="select-list">
 					<div v-for="(item,index) in tagList" :key="index" @click="toDetail(item)">
-						<img :src="fileCenterApi + `/document/newFile/download/0/347905r86eb745a1sc38?fileKey=${item.cover}`" class="icon" alt="">
+						<img :src="fileCenterApi + `/document/newFile/download/0/edv834e74a9c43eaac02?fileKey=${item.cover}`" class="icon" alt="">
 					</div>
 				</div>
 			</div>
@@ -487,7 +487,7 @@
 
 				},
 				standarImg(id) {
-					return `${fileCenterApi}/document/newFile/download/0/347905r86eb745a1sc38?fileKey=${id}`;
+					return `${fileCenterApi}/document/newFile/download/0/edv834e74a9c43eaac02?fileKey=${id}`;
 				},
 				getShare() {
 					systemBuriedPoint({

+ 1 - 1
microserviceUserH5/vcloud/actFissionList.html

@@ -79,7 +79,7 @@
 		<van-list v-model="loading" :finished-text="finishedText" :finished="finished"
 			:immediate-check=false @load="onLoad">
 			<div v-for="(item,index) in tagList" :key="index" class="item" @click="toDetail(item)">
-				<img :src="fileCenterApi + `/document/newFile/download/0/347905r86eb745a1sc38?fileKey=${item.fileId}`" class="icon" alt="">
+				<img :src="fileCenterApi + `/document/newFile/download/0/edv834e74a9c43eaac02?fileKey=${item.fileId}`" class="icon" alt="">
 				<div class="right">
 					<div class="titles">{{item.strategyTitle}}</div>
 					<div class="contents">{{getContent(index,item.content)}}</div>

+ 1 - 1
microserviceUserH5/vcloud/actFissionShare.html

@@ -786,7 +786,7 @@
                     }
                 },
                 standarImg(id) {
-                    return `${fileCenterApi}/document/newFile/download/0/347905r86eb745a1sc38?fileKey=${id}`;
+                    return `${fileCenterApi}/document/newFile/download/0/edv834e74a9c43eaac02?fileKey=${id}`;
                 },
                 getMarquee() {
                     getMarquee().then(res => {

+ 2 - 2
microserviceUserH5/vcloud/register.html

@@ -177,8 +177,8 @@
     function getHead(fileId) {
       $('.head img').attr('src', '../static/img/invite/header-img.png');
       if (fileId) {
-        let urls = baseUrl == 'http://prese.phone.androidscloud.com' ? 'http://110.53.221.195:8210' : 'https://wjzx.androidscloud.com:9091';
-        $('.head img').attr('src', `${urls}/document/newFile/download/0/347905r86eb745a1sc38?fileKey=` + fileId);
+        let urls = baseUrl == 'http://110.53.221.195:8210';
+        $('.head img').attr('src', `${urls}/document/newFile/download/0/edv834e74a9c43eaac02?fileKey=` + fileId);
       }
     }
     function encrypt(word, keyStr) {