修改福袋礼物列表接口

This commit is contained in:
liaozetao
2024-07-05 18:25:45 +08:00
parent 33af99f086
commit 34dbcc2f2b
2 changed files with 3 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ export const listLuckyBagLinearGift = query => {
// 福袋礼物列表请求
export const getPrizeGroupsInfo = query => {
return request({
url: '/admin/luckyBagLinearPool/getPrizeGroupsInfo',
url: '/admin/luckyBag/getGroupInfo',
method: 'get',
params: query
});

View File

@@ -501,7 +501,7 @@ export default {
this.controlsObj.options2,
1
);
getPrizeGroupsInfo({ luckyBagGiftId: this.controlsObj.value2 }).then(
getPrizeGroupsInfo({ luckyBagId: this.controlsObj.value2 }).then(
(res) => {
var newArr = [];
res.data.highPrizeGroup.forEach((val) => {
@@ -600,7 +600,7 @@ export default {
this.foundIndexFunVal = res.rewardGiftId;
this.controlsObj.value = res.partitionId;
this.controlsObj.value2 = res.luckyBagId;
getPrizeGroupsInfo({ luckyBagGiftId: this.controlsObj.value2 }).then(
getPrizeGroupsInfo({ luckyBagId: this.controlsObj.value2 }).then(
(resArr) => {
var newArr = [];
resArr.data.highPrizeGroup.forEach((val) => {