fix: 代客下单商品列表接口修改,增加售罄,下架,不可售状态标识
This commit is contained in:
@@ -46,9 +46,6 @@ export const useCartsStore = defineStore("carts", () => {
|
||||
const goods = useStorage<any[]>("Instead_goods", []);
|
||||
async function getGoods(query: any) {
|
||||
const res = await productApi.list({
|
||||
page: 1,
|
||||
size: 999,
|
||||
status: "on_sale",
|
||||
...query,
|
||||
});
|
||||
goods.value = res.filter((v: { type: string }) => v.type != 'coupon');
|
||||
|
||||
Reference in New Issue
Block a user