diff --git a/common/http.interceptor.js b/common/http.interceptor.js index e243018..7296eb2 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: 'http://mall.dmygkeji.com/storeapi', + baseUrl: 'https://mall.dmygkeji.com/storeapi', loadingText: '努力加载中~', loadingTime: 800, originalData: true, diff --git a/pages/index/details.vue b/pages/index/details.vue index 21fffc8..5a748b0 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:"http://mall.dmygkeji.com/api/Specialci/getAtwillUserInfo", + url:"https://mall.dmygkeji.com/api/Specialci/getAtwillUserInfo", data:{ userId: ID }, diff --git a/pages/release/index.vue b/pages/release/index.vue index d702d45..e023ab7 100644 --- a/pages/release/index.vue +++ b/pages/release/index.vue @@ -106,7 +106,7 @@ export default { sex: '' }, // 演示地址,请勿直接使用 - action: 'http://mall.dmygkeji.com/storeapi/Upload/uploadFile', + action: 'https://mall.dmygkeji.com/storeapi/Upload/uploadFile', coverformdata: { name: 'article_cover' }, diff --git a/pages/release/tosign.vue b/pages/release/tosign.vue index 5e1a01d..faafcf7 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 2767780..aeafb20 100644 --- a/pages/release/video.vue +++ b/pages/release/video.vue @@ -170,7 +170,7 @@ export default { Authorization: 'Bearer' + ' ' + uni.getStorageSync('token') }, // 演示地址,请勿直接使用 - action: 'http://mall.dmygkeji.com/storeapi/Upload/uploadFile', + action: 'https://mall.dmygkeji.com/storeapi/Upload/uploadFile', fileListA: [], imgarrA: [], videopath: '', //视频链接 diff --git a/pages/release/zhibo.nvue b/pages/release/zhibo.nvue index 8770fe6..dcbbb1a 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:"http://mall.dmygkeji.com/storeapi/Streaming/liveStreamList", + url:"https://mall.dmygkeji.com/storeapi/Streaming/liveStreamList", method:"POST", header:{ 'Authorization' : 'Bearer' + " " + token @@ -449,7 +449,7 @@ } }) uni.request({ - url:"http://mall.dmygkeji.com/storeapi/member/memberInfo", + url:"https://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:"http://mall.dmygkeji.com/storeapi/Streaming/destroyChatRoom", + url:"https://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:"http://mall.dmygkeji.com/storeapi/Streaming/updateGoods", + url:"https://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:"http://mall.dmygkeji.com//storeapi/Streaming/liveStreamList", + url:"https://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 7e93120..6657421 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: 'http://mall.dmygkeji.com/storeapi/Upload/uploadFile', + url: 'https://mall.dmygkeji.com/storeapi/Upload/uploadFile', filePath: tempFilePaths[0], name: 'avatar', formData:{ diff --git a/static/imservice.js b/static/imservice.js index a7aaf49..7be8708 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:"http://mall.dmygkeji.com/api/Specialci/getAtwillUserInfo", + url:"https://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:"http://mall.dmygkeji.com/api/Specialci/getAtwillUserInfo", + url:"https://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:"http://mall.dmygkeji.com/api/Specialci/getAtwillUserInfo", + url:"https://mall.dmygkeji.com/api/Specialci/getAtwillUserInfo", data:{ userId:friendId },