import request from '@/utils/request'

// 动态列表
export function listData(params) {
    return request({
        url: '/bbs/moment/list',
        method: 'get',
        params
    })
}

// 动态详情
export function detailData(id) {
    return request({
        url: `/bbs/moment/${id}`,
        method: 'get'
    })
}


// 删除动态
export function delData(id) {
    return request({
        url: `/bbs/moment/${id}`,
        method: 'delete'
    })
}