Commit 6b526d63 by 吕明尚

修改后台管理系统,增加抽奖,奖品,集点,配置页面

parent 1133aa5f
import request from '@/utils/request'
// 查询抽奖记录日志列表
export function listLotteryRecordsLog(query) {
return request({
url: '/system/lotteryRecordsLog/list',
method: 'get',
params: query
})
}
// 查询抽奖记录日志详细
export function getLotteryRecordsLog(id) {
return request({
url: '/system/lotteryRecordsLog/' + id,
method: 'get'
})
}
// 新增抽奖记录日志
export function addLotteryRecordsLog(data) {
return request({
url: '/system/lotteryRecordsLog',
method: 'post',
data: data
})
}
// 修改抽奖记录日志
export function updateLotteryRecordsLog(data) {
return request({
url: '/system/lotteryRecordsLog',
method: 'put',
data: data
})
}
// 删除抽奖记录日志
export function delLotteryRecordsLog(id) {
return request({
url: '/system/lotteryRecordsLog/' + id,
method: 'delete'
})
}
import request from '@/utils/request'
// 查询用户集点活动列表
export function listPointActivities(query) {
return request({
url: '/system/pointActivities/list',
method: 'get',
params: query
})
}
// 查询用户集点活动详细
export function getPointActivities(id) {
return request({
url: '/system/pointActivities/' + id,
method: 'get'
})
}
// 新增用户集点活动
export function addPointActivities(data) {
return request({
url: '/system/pointActivities',
method: 'post',
data: data
})
}
// 修改用户集点活动
export function updatePointActivities(data) {
return request({
url: '/system/pointActivities',
method: 'put',
data: data
})
}
// 删除用户集点活动
export function delPointActivities(id) {
return request({
url: '/system/pointActivities/' + id,
method: 'delete'
})
}
import request from '@/utils/request'
// 查询用户集点活动配置列表
export function listPointActivitiesConf(query) {
return request({
url: '/system/pointActivitiesConf/list',
method: 'get',
params: query
})
}
// 查询用户集点活动配置详细
export function getPointActivitiesConf(id) {
return request({
url: '/system/pointActivitiesConf/' + id,
method: 'get'
})
}
// 新增用户集点活动配置
export function addPointActivitiesConf(data) {
return request({
url: '/system/pointActivitiesConf',
method: 'post',
data: data
})
}
// 修改用户集点活动配置
export function updatePointActivitiesConf(data) {
return request({
url: '/system/pointActivitiesConf',
method: 'put',
data: data
})
}
// 删除用户集点活动配置
export function delPointActivitiesConf(id) {
return request({
url: '/system/pointActivitiesConf/' + id,
method: 'delete'
})
}
import request from '@/utils/request'
// 查询奖品列表
export function listPrize(query) {
return request({
url: '/system/prize/list',
method: 'get',
params: query
})
}
// 查询奖品详细
export function getPrize(id) {
return request({
url: '/system/prize/' + id,
method: 'get'
})
}
// 新增奖品
export function addPrize(data) {
return request({
url: '/system/prize',
method: 'post',
data: data
})
}
// 修改奖品
export function updatePrize(data) {
return request({
url: '/system/prize',
method: 'put',
data: data
})
}
// 删除奖品
export function delPrize(id) {
return request({
url: '/system/prize/' + id,
method: 'delete'
})
}
import request from '@/utils/request'
// 查询转盘游戏列表
export function listWheelGame(query) {
return request({
url: '/system/wheelGame/list',
method: 'get',
params: query
})
}
export function query(query) {
return request({
url: '/system/wheelGame/query',
method: 'get',
params: query
})
}
// 查询转盘游戏详细
export function getWheelGame(id) {
return request({
url: '/system/wheelGame/' + id,
method: 'get'
})
}
// 新增转盘游戏
export function addWheelGame(data) {
return request({
url: '/system/wheelGame',
method: 'post',
data: data
})
}
// 修改转盘游戏
export function updateWheelGame(data) {
return request({
url: '/system/wheelGame',
method: 'put',
data: data
})
}
// 删除转盘游戏
export function delWheelGame(id) {
return request({
url: '/system/wheelGame/' + id,
method: 'delete'
})
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment