@ -78,3 +78,44 @@ export function topiclist({pageIndex,pageSize,timestamp,topicType,partyGroupId})
}
/**
* 发布话题
*/
export function addTopic({topicType, topicContent,topicAddress,topicLatitude,topicLongitude,partyGroupId,images}) {
return request.post('partyGroup/topic/submit',{
topicType,
topicContent,
topicAddress,
topicLatitude,
topicLongitude,
partyGroupId,
images
})
* 话题评论
export function commentSubmit({topicId, faCommentId,content}) {
return request.post('partyGroup/comment/submit',{
topicId,
faCommentId,
content
* 表态话题(赞/踩)
export function statement({attitude, topicId}) {
return request.post('partyGroup/topic/statement',{
attitude