import request from "@/api/request"; export default { // 社区- 获取帖子列表 async queryPostList(data) { return request({ url: '/comment/queryPostList', method: 'GET', data, showLoading: true, noToken: true }) }, // 社区- 上传帖子 async addPost(data) { return request({ url: '/comment/addPost', method: 'POST', data, showLoading: true, // noToken: true }) } }