import request from '@/sheep/request'; const DynamicsApi = { // 查询社区动态列表 getPage: (params) => { return request({ url: '/community/post/page', method: 'GET', data: params, custom: { showLoading: false, auth: true, }, }); }, // 查询社区动态详情 getDetail: (id) => { return request({ url: '/community/post/get', method: 'GET', data: { id }, custom: { showLoading: true, auth: true, }, }); }, }; export default DynamicsApi;