// 文件模块相关接口
import { moduleRequest } from '@/utils/reSourceRequest'

const request = moduleRequest(`/api/webapp/`)

/**
 * 获取文件列表相关接口
 */
// 获取文件列表（区分文件路径）
//收藏增加
export const add = (p) => request('/disk/hour/add', p, 'post')
export const edit = (p) => request('/disk/hour/edit', p, 'post')
export const detail = (p) => request('/disk/hour/detail', p, 'get')
export const del = (p) => request('/disk/hour/delete', p, 'post')
