import { baseRequest } from '@/utils/request'
import {moduleRequest} from "@/utils/reSourceRequest";

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

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