diff --git a/api/wxApi.js b/api/wxApi.js index 26cc54a..42a33f0 100644 --- a/api/wxApi.js +++ b/api/wxApi.js @@ -35,9 +35,9 @@ export function entPay(orderNo) { } // 获取urlLink -export function getUrlLink(path, query) { +export function getUrlLink(path, query, type) { return request({ - 'url': '/wxApi/getUrlLink?path=' + path + '&query=' + query, + 'url': '/wxApi/getUrlLink?path=' + path + '&query=' + query + '&type=' + type, 'method': 'post' }) -} +} \ No newline at end of file diff --git a/pages/mine/mine-index.vue b/pages/mine/mine-index.vue index 811bf90..ab1237b 100644 --- a/pages/mine/mine-index.vue +++ b/pages/mine/mine-index.vue @@ -28,7 +28,7 @@ {{userInfo.tfansNum||'0'}} - + {{userInfo.identityName||'未认证身份'}} diff --git a/pages/notice/detail.vue b/pages/notice/detail.vue index 009c665..deb6f7b 100644 --- a/pages/notice/detail.vue +++ b/pages/notice/detail.vue @@ -240,7 +240,7 @@ 请复制通告到微信对话框填写信息报名 - 点击复制 + 点击复制 @@ -587,7 +587,7 @@ console.log(dataObj, 'dataObje') if ('lj' == dataObj.item.name) { //链接 - this.goLinkUrl() + this.goLinkUrl(2) } else if ('wx' == dataObj.item.name) { } else if ('jb' == dataObj.item.name) { @@ -603,8 +603,8 @@ console.log('点击关闭') }, - goLinkUrl() { - getUrlLink('pages/notice/detail', this.noticeId).then(res => { + goLinkUrl(type) { + getUrlLink('pages/notice/detail', this.noticeId, type).then(res => { res.data = res.data.replace(/
/g, '\n') uni.setClipboardData({ data: res.data,