From 336dedf74337c3e15dfced160c81a6909c047ad7 Mon Sep 17 00:00:00 2001 From: zhaoyongnian <541231643@qq.com> Date: Fri, 5 Jun 2020 14:30:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- subpages/associationNew/pages/community/community.js | 4 ++-- subpages/associationNew/utils/api.js | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) 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 +