123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- 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
- });
- }
|