import request from '@/utils/request' // 获取签到列表 export function signList(data) { return request({ url: '/api/sign/list', method: 'get', data }); } // 点击签到 export function integral(data) { return request({ url: '/api/sign/integral', method: 'post', data }); } // 签到信息 export function signUser(data) { return request({ url: '/api/sign/user', method: 'post', data }); } // 抽奖详情 export function getgacha(data) { return request({ url: '/api/gacha', method: 'get', data }); } // 抽奖结果 export function gacha(data) { return request({ url: '/api/gacha', method: 'post', data }); } // 抽奖记录 export function gachalog(data) { return request({ url: '/api/gacha/log', method: 'get', data }); } // 兑换积分 export function dhjp(data, id) { return request({ url: '/api/gacha/get/' + id, method: 'post', data }); } // 核销奖品 export function writer(data) { return request({ url: '/api/admin/gacha/writer', method: 'post', data }); }