/**
 * 海邻大事记动态接口
 */
import request from '@/utils/request'
// 获取菜单列表
export const getWebData = (params) => request.basic.get('/api/v1/web_site', params)
// 获取菜单条数据
export const getMenu = (id) => request.basic.get(`/api/v1/web_site/${id}`)
// 添加菜单
export const createMenu = (params) => request.basic.post('/api/v1/web_site', params)
// 更新菜单
export const updateWebData = (id, params) => request.basic.put(`/api/v1/web_site/${id}`, params)
// 删除菜单
export const delMenu = (id) => request.basic.delete(`/api/v1/web_site/${id}`)
