Browse Source

优化

master
zhaoyongnian 5 years ago
parent
commit
336dedf743
  1. 4
      subpages/associationNew/pages/community/community.js
  2. 12
      subpages/associationNew/utils/api.js

4
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` //`#/事好鼓个掌`
})
}
}

12
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

Loading…
Cancel
Save