import requestModule from '../request.js'
const {api} = requestModule
/**
 * 活动详情页
 */
export const activityDetailApi = (data) => api.post('/c/activity-signup/detail', data)

/**
 * 获取报名表单接口
 */
export const signupFormApi = (data) => api.post('/c/activity-signup/signup-form', data)
/**
 * 提交报名表单接口
 */
export const formCommitApi = (data) => api.post('/c/activity-signup/signup-form-commit',data);

/**
 * 查询已报名的活动列表
 */
export const signupListApi = (data) => api.post('/c/activity-signup/signup-list', data);
/**
 * 查询活动列表
 */
export const activityListApi = (data) => api.post('/c/activity-signup/list', data);
/**
 * 查询会员已入选的活动
 */
export const activityPrizedApi = (data) => api.post('/c/activity-signup/prized',data);
/**
 * 文件上传
 */
export const uploadFileApi = (data) => api.post('/c/activity-signup/upload/file',data);