diff --git a/common/http.interceptor.js b/common/http.interceptor.js index 4d23618..e243018 100644 --- a/common/http.interceptor.js +++ b/common/http.interceptor.js @@ -1,7 +1,7 @@ const install = (Vue, vm) => { // 此为自定义配置参数,具体参数见上方说明 Vue.prototype.$u.http.setConfig({ - baseUrl: 'https://dmmall.sdbairui.com/storeapi', + baseUrl: 'http://mall.dmygkeji.com/storeapi', loadingText: '努力加载中~', loadingTime: 800, originalData: true, diff --git a/pages/index/details.vue b/pages/index/details.vue index 5a0ef9b..21fffc8 100644 --- a/pages/index/details.vue +++ b/pages/index/details.vue @@ -216,7 +216,7 @@ export default { const token = uni.getStorageSync('token'); let that = this uni.request({ - url:"https://dmmall.sdbairui.com/api/Specialci/getAtwillUserInfo", + url:"http://mall.dmygkeji.com/api/Specialci/getAtwillUserInfo", data:{ userId: ID }, diff --git a/pages/release/index.vue b/pages/release/index.vue index a6e690c..d702d45 100644 --- a/pages/release/index.vue +++ b/pages/release/index.vue @@ -106,7 +106,7 @@ export default { sex: '' }, // 演示地址,请勿直接使用 - action: 'https://dmmall.sdbairui.com/storeapi/Upload/uploadFile', + action: 'http://mall.dmygkeji.com/storeapi/Upload/uploadFile', coverformdata: { name: 'article_cover' }, diff --git a/pages/release/tosign.vue b/pages/release/tosign.vue index 6868355..5e1a01d 100644 --- a/pages/release/tosign.vue +++ b/pages/release/tosign.vue @@ -28,7 +28,7 @@ 直播封面图 - + {{relerest}} diff --git a/pages/release/video.vue b/pages/release/video.vue index 253e1b8..2ac93d0 100644 --- a/pages/release/video.vue +++ b/pages/release/video.vue @@ -170,7 +170,7 @@ export default { Authorization: 'Bearer' + ' ' + uni.getStorageSync('token') }, // 演示地址,请勿直接使用 - action: 'https://dmmall.sdbairui.com/storeapi/Upload/uploadFile', + action: 'http://mall.dmygkeji.com/storeapi/Upload/uploadFile', fileListA: [], imgarrA: [], videopath: '', //视频链接 diff --git a/pages/release/zhibo.nvue b/pages/release/zhibo.nvue index 52c0660..8770fe6 100644 --- a/pages/release/zhibo.nvue +++ b/pages/release/zhibo.nvue @@ -438,7 +438,7 @@ this.chatroom_id = a.id this.live_id = a.live_id uni.request({ - url:"https://dmmall.sdbairui.com/storeapi/Streaming/liveStreamList", + url:"http://mall.dmygkeji.com/storeapi/Streaming/liveStreamList", method:"POST", header:{ 'Authorization' : 'Bearer' + " " + token @@ -449,7 +449,7 @@ } }) uni.request({ - url:"https://dmmall.sdbairui.com/storeapi/member/memberInfo", + url:"http://mall.dmygkeji.com/storeapi/member/memberInfo", method:"POST", header:{ 'Authorization' : 'Bearer' + " " + token @@ -601,7 +601,7 @@ success: function (res) { if (res.confirm) { uni.request({ - url:"https://dmmall.sdbairui.com/storeapi/Streaming/destroyChatRoom", + url:"http://mall.dmygkeji.com/storeapi/Streaming/destroyChatRoom", data:{ chatroom_id:that.chatroom_id, live_id:that.live_id, @@ -732,7 +732,7 @@ console.log(arr.join(',')) let that = this uni.request({ - url:"https://dmmall.sdbairui.com/storeapi/Streaming/updateGoods", + url:"http://mall.dmygkeji.com/storeapi/Streaming/updateGoods", method:"POST", data:{ goods_id:arr.join(',') @@ -743,7 +743,7 @@ success(res){ console.log(res) uni.request({ - url:"https://dmmall.sdbairui.com//storeapi/Streaming/liveStreamList", + url:"http://mall.dmygkeji.com//storeapi/Streaming/liveStreamList", method:"POST", header:{ 'Authorization' : 'Bearer' + " " + token diff --git a/pages/user/info.vue b/pages/user/info.vue index 84122c2..7e93120 100644 --- a/pages/user/info.vue +++ b/pages/user/info.vue @@ -91,7 +91,7 @@ export default { console.log(JSON.stringify(res.tempFilePaths)); const tempFilePaths = res.tempFilePaths; uni.uploadFile({ - url: 'https://dmmall.sdbairui.com/storeapi/Upload/uploadFile', + url: 'http://mall.dmygkeji.com/storeapi/Upload/uploadFile', filePath: tempFilePaths[0], name: 'avatar', formData:{ diff --git a/static/imservice.js b/static/imservice.js index 7477d41..7ad737a 100644 --- a/static/imservice.js +++ b/static/imservice.js @@ -105,7 +105,7 @@ IMService.prototype.initialContacts = function (friendList) { const token = uni.getStorageSync('token'); console.log(token) uni.request({ - url:"https://dmmall.sdbairui.com/api/Specialci/getAtwillUserInfo", + url:"http://mall.dmygkeji.com/api/Specialci/getAtwillUserInfo", data:{ userId:i[0] }, @@ -282,7 +282,7 @@ IMService.prototype.initialIMListeners = function () { const token = uni.getStorageSync('token'); console.log(token) uni.request({ - url:"https://dmmall.sdbairui.com/api/Specialci/getAtwillUserInfo", + url:"http://mall.dmygkeji.com/api/Specialci/getAtwillUserInfo", data:{ userId:message.senderId }, @@ -410,7 +410,7 @@ IMService.prototype.sendMessagesSetStorage = function (friendId,message){ const token = uni.getStorageSync('token'); console.log(token) uni.request({ - url:"https://dmmall.sdbairui.com/api/Specialci/getAtwillUserInfo", + url:"http://mall.dmygkeji.com/api/Specialci/getAtwillUserInfo", data:{ userId:friendId },