diff --git a/subpages/associationNew/pages/community/community.js b/subpages/associationNew/pages/community/community.js index f8ba6ff..c7debb8 100644 --- a/subpages/associationNew/pages/community/community.js +++ b/subpages/associationNew/pages/community/community.js @@ -55,11 +55,11 @@ Page({ } else if (e.currentTarget.dataset.page === 'gather') { console.log('/subpages/associationNew/pages/community/community.js') wx.navigateTo({ - url: `#/话对捧个场` + url:`/subpages/associationNew/pages/eventlist/eventlist` //`#/话对捧个场` }) } else if (e.currentTarget.dataset.page === 'applause') { wx.navigateTo({ - url: `#/事好鼓个掌` + url:`/subpages/associationNew/pages/eventlist/eventlist` //`#/事好鼓个掌` }) } } diff --git a/subpages/associationNew/utils/api.js b/subpages/associationNew/utils/api.js index b22e0cc..f1448bb 100644 --- a/subpages/associationNew/utils/api.js +++ b/subpages/associationNew/utils/api.js @@ -64,3 +64,15 @@ export function postUserBanned({groupUserId, bannedFlag}) { }) } +/** + * 用户禁言 + */ +export function postUserBanned({groupUserId, bannedFlag}) { + return request.post('partyGroup/topic/list',{ + groupUserId, + bannedFlag + }) +} + +// /api/partyGroup/topic/list +