This commit is contained in:
dute7liang
2023-12-31 16:41:43 +08:00
parent 009b52f585
commit a2307fe5dd
2 changed files with 387 additions and 0 deletions

44
src/api/cai/userGift.js Normal file
View File

@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询礼物流水列表
export function listUserGift(query) {
return request({
url: '/cai/userGift/list',
method: 'get',
params: query
})
}
// 查询礼物流水详细
export function getUserGift(id) {
return request({
url: '/cai/userGift/' + id,
method: 'get'
})
}
// 新增礼物流水
export function addUserGift(data) {
return request({
url: '/cai/userGift',
method: 'post',
data: data
})
}
// 修改礼物流水
export function updateUserGift(data) {
return request({
url: '/cai/userGift',
method: 'put',
data: data
})
}
// 删除礼物流水
export function delUserGift(id) {
return request({
url: '/cai/userGift/' + id,
method: 'delete'
})
}