Ver código fonte

更换预生产域名和fileKey

huangxiaojing 3 anos atrás
pai
commit
7928a5062d

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

@@ -1,7 +1,7 @@
 var url = window.location.href;
 url = url.split('/');
 var baseUrl = url[0] + '//' + url[2];
-// var baseUrl = 'http://14.18.190.141:54413'
+// var baseUrl = 'http://per.cs.se.androidscloud.com'
 // var baseUrl = 'http://vclusters.imwork.net:2221'
 
 

+ 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('14.18.190.141')?'http://110.53.221.195:8210':'https://wjzx.androidscloud.com:9091';
+const fileCenterApi = baseUrl.includes('per.cs.se.androidscloud.com')?'http://110.53.221.195:8210':'https://wjzx.androidscloud.com:9091';
 //const fileCenterApi = 'https://per.cs.se.androidscloud.com/'
 // https://per.cs.se.androidscloud.com/
 // https://per.cs.se.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/3dn9b4585511476691c6?fileKey=${item.cover}`" class="icon" alt="">
+						<img :src="fileCenterApi + `/document/newFile/download/0/347905r86eb745a1sc38?fileKey=${item.cover}`" class="icon" alt="">
 					</div>
 				</div>
 			</div>
@@ -487,7 +487,7 @@
 
 				},
 				standarImg(id) {
-					return `${fileCenterApi}/document/newFile/download/0/3dn9b4585511476691c6?fileKey=${id}`;
+					return `${fileCenterApi}/document/newFile/download/0/347905r86eb745a1sc38?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/3dn9b4585511476691c6?fileKey=${item.fileId}`" class="icon" alt="">
+				<img :src="fileCenterApi + `/document/newFile/download/0/347905r86eb745a1sc38?fileKey=${item.fileId}`" class="icon" alt="">
 				<div class="right">
 					<div class="titles">{{item.strategyTitle}}</div>
 					<div class="contents">{{getContent(index,item.content)}}</div>

+ 5 - 5
microserviceUserH5/vcloud/actFissionShare.html

@@ -565,8 +565,8 @@
 		});
         function download() {
             if (isAndroid) {
-                if (baseUrl.includes('14.18.190.141')) {
-                    window.location.href = 'http://14.18.190.141:28888/suanchou'
+                if (baseUrl.includes('per.cs.se.androidscloud.com')) {
+                    window.location.href = 'http://per.cs.se.androidscloud.com/suanchou'
                 } else {
                     window.location.href = 'http://www.androidscloud.com/suanchou?timestamp=' + Math.random();
                 }
@@ -773,8 +773,8 @@
                 },
                 download() {
                     if (isAndroid) {
-                        if (baseUrl.includes('14.16.190.141')) {
-                            window.location.href = 'http://14.18.190.141:28888/suanchou'
+                        if (baseUrl.includes('per.cs.se.androidscloud.com')) {
+                            window.location.href = 'http://per.cs.se.androidscloud.com/suanchou'
                         } else {
                             window.location.href = 'http://www.androidscloud.com/suanchou?timestamp=' + Math.random();
                         }
@@ -786,7 +786,7 @@
                     }
                 },
                 standarImg(id) {
-                    return `${fileCenterApi}/document/newFile/download/0/3dn9b4585511476691c6?fileKey=${id}`;
+                    return `${fileCenterApi}/document/newFile/download/0/347905r86eb745a1sc38?fileKey=${id}`;
                 },
                 getMarquee() {
                     getMarquee().then(res => {

+ 0 - 1
microserviceUserH5/vcloud/channel.html

@@ -44,7 +44,6 @@
 
 </div>
 <script type="text/javascript" th:inline="javascript">
-	// var baseUrl = 'http://14.18.190.141:38051'
 	let code = '', platform = '', version = '', fileIp = '', downloadId = '';
 	goAppDownload();
 	function goAppDownload() {

+ 1 - 2
microserviceUserH5/vcloud/exchangePhoneActivity.html

@@ -137,7 +137,6 @@
 		toastr.options.timeOut = '1500';
 	</script>
 	<script type="text/javascript">
-        // var baseUrl = 'http://14.18.190.141:24380'
 		let timer, flag = true;
 		let time = 60, codeTimer = null, enable = false, isStart = false,  changePhoneType = 2, phone = '', code = '', captchaVerification = '';
 		var url = window.location.href;
@@ -385,7 +384,7 @@
 		},false);
         function download() {
             if (isAndroid) {
-				if(baseUrl.includes('14.18.190.141')){
+				if(baseUrl.includes('per.cs.se.androidscloud.com')){
 					location.href = `./exchangePhoneDownApp.html?code=B8D94k56bj11&platform=1`;
 				}else{
 					location.href = `./exchangePhoneDownApp.html?code=nEk3HnNl61C3&platform=1`;

+ 0 - 1
microserviceUserH5/vcloud/exchangePhoneDownApp.html

@@ -37,7 +37,6 @@
 
 </div>
 <script type="text/javascript">
-	// var baseUrl = 'http://14.18.190.141:24380';
 	let code = '', downloadId = '', platform = '', fileIp = '', version = '';
 	goAppDownload();
 	function goAppDownload() {

+ 0 - 2
microserviceUserH5/vcloud/official.html

@@ -136,8 +136,6 @@
     <script type="text/javascript" th:inline="javascript">
         var url = window.location.href;
         url = url.split('/')
-        // var baseUrl = 'https://' + url[2]
-        // var baseUrl = 'http://14.18.190.141:24380'
 
         $("#recv_ipt").bind('input propertychange', function (e) {
             var ipt_phones = $('#recv_ipt').val();

+ 3 - 3
microserviceUserH5/vcloud/promote.html

@@ -147,10 +147,10 @@
 						} else if (res.status === 1) {
 							toastr.error(res.msg)
 							setTimeout(function () {
-								if(baseUrl.includes('14.18.190.141')){
-									$(window).attr('location', 'http://14.18.190.141:28888');
+								if(baseUrl.includes('per.cs.se.androidscloud.com')){
+									$(window).attr('location', 'http://per.cs.se.androidscloud.com');
 								}else{
-									$(window).attr('location', 'http://www.androidscloud.com/');
+									$(window).attr('location', 'http://www.androidscloud.com');
 								}
 							}, 1000)
 						} else {

+ 5 - 5
microserviceUserH5/vcloud/register.html

@@ -139,10 +139,10 @@
           } else if (res.status === 1) {
             toastr.error(res.msg)
             setTimeout(function () {
-              if (baseUrl.includes('14.18.190.141')) {
-                $(window).attr('location', 'http://14.18.190.141:28888');
+              if (baseUrl.includes('per.cs.se.androidscloud.com')) {
+                $(window).attr('location', 'http://per.cs.se.androidscloud.com');
               } else {
-                $(window).attr('location', 'http://www.androidscloud.com/');
+                $(window).attr('location', 'http://www.androidscloud.com');
               }
             }, 1000)
           } else if (res.status === 11) {
@@ -177,8 +177,8 @@
     function getHead(fileId) {
       $('.head img').attr('src', '../static/img/invite/header-img.png');
       if (fileId) {
-        let urls = baseUrl == 'http://14.18.190.141:24380' ? 'http://110.53.221.195:8210' : 'https://wjzx.androidscloud.com:9091';
-        $('.head img').attr('src', `${urls}/document/newFile/download/0/3dn9b4585511476691c6?fileKey=` + fileId);
+        let urls = baseUrl == 'http://per.cs.se.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);
       }
     }
     function encrypt(word, keyStr) {

+ 2 - 2
microserviceUserH5/vcloud/share.html

@@ -220,8 +220,8 @@
 						this.showD = true;
 						return;
 					} else {
-						if(window.location.href.includes('14.18.190.141')){
-							window.location.href = 'http://14.18.190.141:28888/admin/attachment/download/2117e9b7f3734b16b81b9d7bb1c5a601'
+						if(window.location.href.includes('per.cs.se.androidscloud.com')){
+							window.location.href = 'http://per.cs.se.androidscloud.com/admin/attachment/download/2117e9b7f3734b16b81b9d7bb1c5a601'
 						} else {
 							window.location.href ='http://www.androidscloud.com/admin/attachment/download/2117e9b7f3734b16b81b9d7bb1c5a601';
 						}