diff --git a/common/http.interceptor.js b/common/http.interceptor.js index b813783..6bfc66d 100644 --- a/common/http.interceptor.js +++ b/common/http.interceptor.js @@ -2,7 +2,7 @@ var md5 = require("../static/js/md5.min.js") const install = (Vue, vm) => { // 此为自定义配置参数,具体参数见上方说明 Vue.prototype.$u.http.setConfig({ - baseUrl: 'https://dmmall.sdbairui.com/api', + baseUrl: 'http://mall.dmygkeji.com/api', loadingText: '努力加载中~', loadingTime: 800, originalData: true diff --git a/pageB/components/userinfo/index.vue b/pageB/components/userinfo/index.vue index c6e8df4..54a87bc 100644 --- a/pageB/components/userinfo/index.vue +++ b/pageB/components/userinfo/index.vue @@ -132,7 +132,7 @@ // 关注 following(id) { uni.request({ - url: "https://dmmall.sdbairui.com/api/member/attentionMember", + url: "http://mall.dmygkeji.com/api/member/attentionMember", method: "POST", data: { member_id: id @@ -161,7 +161,7 @@ likeType(id) { // console.log(id); uni.request({ - url: "https://dmmall.sdbairui.com/api/article/articleLike", + url: "http://mall.dmygkeji.com/api/article/articleLike", method: "POST", data: { article_id: id @@ -192,7 +192,7 @@ // 收藏 collecting(id) { uni.request({ - url: "https://dmmall.sdbairui.com/api/article/articleCollect", + url: "http://mall.dmygkeji.com/api/article/articleCollect", method: "POST", data: { article_id: id diff --git a/pageB/video/video.nvue b/pageB/video/video.nvue index 1fc9a5e..c4c6e10 100644 --- a/pageB/video/video.nvue +++ b/pageB/video/video.nvue @@ -133,7 +133,7 @@