/**
 * 海邻动态接口
 */
import request from '@/utils/request'
// 获取公司动态列表
export const getDataList = (params) => request.basic.get('/api/v1/videos', params)
// 获取单条数据
export const getItem = (id) => request.basic.get(`/api/v1/videos/${id}`)
// 添加动态
export const createDynamic = (params) => request.basic.post('/api/v1/videos', params)
// 更新动态
export const updateItem = (id, params) => request.basic.put(`/api/v1/videos/${id}`, params)
// 删除动态
export const delVideoItem = (id) => request.basic.delete(`/api/v1/videos/${id}`)
