feat(shoppingUpgrade): 加购升级-商品列表更换接口
This commit is contained in:
parent
3512fed11a
commit
3716ad53ab
|
@ -403,3 +403,12 @@ export function directUpgradeRecordList(params) {
|
||||||
params
|
params
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 根据商品类型获取商品
|
||||||
|
export function getGoodsListByType(params) {
|
||||||
|
return request({
|
||||||
|
url: '/sale/manage/wares/find-all-maker',
|
||||||
|
method: 'get',
|
||||||
|
params
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
|
@ -1,9 +1,3 @@
|
||||||
<!--
|
|
||||||
* @Descripttion:
|
|
||||||
* @version:
|
|
||||||
* @Author: kBank
|
|
||||||
* @Date: 2023-02-23 15:59:57
|
|
||||||
-->
|
|
||||||
<template>
|
<template>
|
||||||
<div class="page">
|
<div class="page">
|
||||||
<!-- <topBar v-if="topList.length > 0"
|
<!-- <topBar v-if="topList.length > 0"
|
||||||
|
|
|
@ -156,11 +156,12 @@ export default {
|
||||||
|
|
||||||
getData() {
|
getData() {
|
||||||
api
|
api
|
||||||
.waresList({
|
.getGoodsListByType({
|
||||||
specialArea: this.isArea
|
specialArea: this.isArea,
|
||||||
|
isMakerGift: 3
|
||||||
})
|
})
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
this.allGoods = res.data
|
this.allGoods = res.data || []
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue