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

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

// 创建文档
export const createOfficeFile = (p) => request('/file/createFile', p, 'post')
// 编辑文档
export const editOfficeFile = (p) => request('/office/editofficefile', p, 'post')
// 查看文档
export const previewOfficeFile = (p) => request('/office/previewofficefile', p, 'post')
