修改获取线性福袋获取逻辑
This commit is contained in:
@@ -12,7 +12,7 @@ export const listPartitionInfo = query => {
|
|||||||
// 福袋列表请求
|
// 福袋列表请求
|
||||||
export const listLuckyBagLinearGift = query => {
|
export const listLuckyBagLinearGift = query => {
|
||||||
return request({
|
return request({
|
||||||
url: '/admin/luckyBagLinearPool/listLuckyBagLinearGift',
|
url: '/admin/gift/getGiftByTypes',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: query
|
params: query
|
||||||
});
|
});
|
||||||
|
@@ -420,7 +420,9 @@ export default {
|
|||||||
listPartitionInfo().then((res) => {
|
listPartitionInfo().then((res) => {
|
||||||
this.controlsObj.options = res.data;
|
this.controlsObj.options = res.data;
|
||||||
});
|
});
|
||||||
listLuckyBagLinearGift().then((res) => {
|
listLuckyBagLinearGift({
|
||||||
|
giftTypes: '3,15'
|
||||||
|
}).then((res) => {
|
||||||
this.controlsObj.options2 = res.data;
|
this.controlsObj.options2 = res.data;
|
||||||
});
|
});
|
||||||
this.getData();
|
this.getData();
|
||||||
|
Reference in New Issue
Block a user