import { moduleRequest } from '@/utils/reSourceRequest'

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

export const list = (p) => request('disk/courseopen/page', p, 'get')
// 进入详情之后增加观看次数
export const addItem = (p) => request('disk/courseopen/add', p, 'post')
export const editItem = (p) => request('disk/courseopen/edit', p, 'post')
//详情
export const detail = (p) => request('disk/courseopen/detail', p, 'get')
//收藏增加
//资源列表 排除没权限得条目
export const deletess = (p) => request('disk/courseopen/delete', p, 'post')
