Commit e635312391a5bd5d7e8e5a6f93939d581ef2f5ee

Authored by 杨鑫
1 parent 0c190439

'小程序推广'

admin-web-master/dist (2).zip 0 → 100644
No preview for this file type
admin-web-master/dist.zip deleted
No preview for this file type
admin-web-master/src/views/shopRental/manage/index.vue
@@ -272,7 +272,7 @@ @@ -272,7 +272,7 @@
272 general(fd).then(res => { 272 general(fd).then(res => {
273 console.log(res); 273 console.log(res);
274 let data = JSON.parse(res.data) 274 let data = JSON.parse(res.data)
275 - if(data.code == '200'){ 275 + if(data.code == '0'){
276 this.$message({ 276 this.$message({
277 type: 'success', 277 type: 'success',
278 message: '发起成功' 278 message: '发起成功'
lvdao-miniapp/main.js
@@ -8,13 +8,13 @@ import uView from "uview-ui"; @@ -8,13 +8,13 @@ import uView from "uview-ui";
8 import DialogBox from './components/DialogBox/DialogBox'; 8 import DialogBox from './components/DialogBox/DialogBox';
9 // let hostall = window.location.href; 9 // let hostall = window.location.href;
10 // let c1 = hostall.split('cdwlMall')[0]; 10 // let c1 = hostall.split('cdwlMall')[0];
11 -let c1 = 'https://jy.scjysm.asia:18086/'  
12 -// let c1 = 'https://zhgw-uat.028wlkj.com/' 11 +// let c1 = 'https://jy.scjysm.asia:18086/'
  12 +let c1 = 'https://zhgw-uat.028wlkj.com/'
13 Vue.config.productionTip = false 13 Vue.config.productionTip = false
14 Vue.prototype.$http = http 14 Vue.prototype.$http = http
15 Vue.prototype.$imgUrl = (url) => { 15 Vue.prototype.$imgUrl = (url) => {
16 - return (c1 + "cdwlMall/questionnaire/file/static" + url);  
17 - // return (c1 + "cdwlMall/zsfwzxt/test/file/static" + url); 16 + // return (c1 + "cdwlMall/questionnaire/file/static" + url);
  17 + return (c1 + "cdwlMall/zsfwzxt/test/file/static" + url);
18 } 18 }
19 Vue.prototype.$img = c1+ 'cdwlMall' 19 Vue.prototype.$img = c1+ 'cdwlMall'
20 // Vue.prototype.$upload = "https://zhld.028wlkj.com:49008/cdwlMall/admin-server/miniio/upload" 20 // Vue.prototype.$upload = "https://zhld.028wlkj.com:49008/cdwlMall/admin-server/miniio/upload"
lvdao-miniapp/pagesA/projectManagement/projectDetails.vue
@@ -39,7 +39,7 @@ @@ -39,7 +39,7 @@
39 :class="{ 'share-modal-animate': showShareModal }"> 39 :class="{ 'share-modal-animate': showShareModal }">
40 <view class="share-option" @click="generatePoster">生成海报</view> 40 <view class="share-option" @click="generatePoster">生成海报</view>
41 <!-- <view class="share-option" @click="wechatShare">微信分享</view> --> 41 <!-- <view class="share-option" @click="wechatShare">微信分享</view> -->
42 - <button class="share-option" open-type="share">分享朋友</button> 42 + <button class="share-option" open-type="share">微信分享</button>
43 <view class="share-option" @click="closeShareModal">取消</view> 43 <view class="share-option" @click="closeShareModal">取消</view>
44 </view> 44 </view>
45 45
@@ -100,9 +100,8 @@ @@ -100,9 +100,8 @@
100 generatePoster() { 100 generatePoster() {
101 this.closeShareModal() 101 this.closeShareModal()
102 this.$http.sendRequest(`/cerePromotion/getSharePic/${this.tableData.id}`, 'GET','', 1).then(res => { 102 this.$http.sendRequest(`/cerePromotion/getSharePic/${this.tableData.id}`, 'GET','', 1).then(res => {
103 - console.log(res,'123123123123123') 103 + this.posterUrl = this.imgurl+res.data.data
104 this.showPosterMask = true; 104 this.showPosterMask = true;
105 - // this.posterUrl =  
106 }) 105 })
107 106
108 // setTimeout(() => { 107 // setTimeout(() => {
lvdao-miniapp/utils/request.js
1 1
2 // let hostall = window.location.href; 2 // let hostall = window.location.href;
3 // let c1 = hostall.split('cdwlMall')[0]; 3 // let c1 = hostall.split('cdwlMall')[0];
4 -let c1 = 'https://jy.scjysm.asia:18086/'  
5 -// let c1 = 'https://zhgw-uat.028wlkj.com/' 4 +// let c1 = 'https://jy.scjysm.asia:18086/'
  5 +let c1 = 'https://zhgw-uat.028wlkj.com/'
6 //封装request请求 6 //封装request请求
7 const sendRequest = (url, method = 'GET', data = {}, baseUrl,contentType) => { 7 const sendRequest = (url, method = 'GET', data = {}, baseUrl,contentType) => {
8 //判断header提交数据类型 8 //判断header提交数据类型
@@ -21,10 +21,10 @@ const sendRequest = (url, method = &#39;GET&#39;, data = {}, baseUrl,contentType) =&gt; { @@ -21,10 +21,10 @@ const sendRequest = (url, method = &#39;GET&#39;, data = {}, baseUrl,contentType) =&gt; {
21 // bases = 'https://zhgw.028wlkj.com:20443/cdwlMall/meserver/admin-server' + url; 21 // bases = 'https://zhgw.028wlkj.com:20443/cdwlMall/meserver/admin-server' + url;
22 // bases = 'https://jy.scjysm.asia:18086/cdwlMall/meserver/admin-server' + url; 22 // bases = 'https://jy.scjysm.asia:18086/cdwlMall/meserver/admin-server' + url;
23 23
24 - bases = 'http://128.10.249.46:9003'+ url; 24 + // bases = 'http://128.10.249.46:9003'+ url;
25 // bases = 'https://zhld.028wlkj.com:49008/cdwlMall/admin-server' + url; 25 // bases = 'https://zhld.028wlkj.com:49008/cdwlMall/admin-server' + url;
26 26
27 - // bases = c1 + 'cdwlMall/meserver/admin-server' + url; 27 + bases = c1 + 'cdwlMall/meserver/admin-server' + url;
28 28
29 }else if(baseUrl == 3){ 29 }else if(baseUrl == 3){
30 // bases = 'https://jy.scjysm.asia:18086/cdwlMall/meserver/api' + url; 30 // bases = 'https://jy.scjysm.asia:18086/cdwlMall/meserver/api' + url;