feat(shoppingUpgrade): 加购升级-商品列表更换接口

This commit is contained in:
woody 2025-10-22 16:43:30 +08:00
parent 3512fed11a
commit 3716ad53ab
3 changed files with 13 additions and 9 deletions

View File

@ -403,3 +403,12 @@ export function directUpgradeRecordList(params) {
params
})
}
// 根据商品类型获取商品
export function getGoodsListByType(params) {
return request({
url: '/sale/manage/wares/find-all-maker',
method: 'get',
params
})
}

View File

@ -1,9 +1,3 @@
<!--
* @Descripttion:
* @version:
* @Author: kBank
* @Date: 2023-02-23 15:59:57
-->
<template>
<div class="page">
<!-- <topBar v-if="topList.length > 0"

View File

@ -156,11 +156,12 @@ export default {
getData() {
api
.waresList({
specialArea: this.isArea
.getGoodsListByType({
specialArea: this.isArea,
isMakerGift: 3
})
.then((res) => {
this.allGoods = res.data
this.allGoods = res.data || []
})
},