新增兑奖记录

This commit is contained in:
gyq
2024-12-25 14:39:57 +08:00
parent e0b70d8f65
commit bc03876a7e
6 changed files with 409 additions and 152 deletions

27
src/api/renwu-record.js Normal file
View File

@@ -0,0 +1,27 @@
import $http from "@/utils/httpRequest";
/**
* 兑换记录
* @param {*} params
* @returns
*/
export function userPrizeExchangePage(params) {
return $http({
url: "/userPrizeExchange/page",
method: "get",
params
});
}
/**
* 管理端-发放奖品
* @param {*} params
* @returns
*/
export function userPrizeExchangeDeliver(data) {
return $http({
url: "/userPrizeExchange/deliver",
method: "POST",
data
});
}