商品详情.评价页面.购物车页面.首页轮播图.搜索功能.分类接口

This commit is contained in:
落日晚风
2023-10-31 17:41:57 +08:00
parent 6a327ac0e7
commit f4c1b30f2e
14 changed files with 496 additions and 470 deletions
+4 -4
View File
@@ -261,12 +261,12 @@
sort: Sort,
order: Order,
category_id: !keyword ? categoryId : '',
list_rows,
pageSize:list_rows,
keyword: keyword,
page,
pageNo:page,
});
if (res.error === 0) {
let couponList = _.concat(state.pagination.data, res.data.data);
if (res.code === 0) {
let couponList = _.concat(state.pagination.data, res.data.list);
state.pagination = {
...res.data,
data: couponList,