产品列表, 按上架时间和点赞量排序

This commit is contained in:
clay
2023-01-06 18:25:12 +08:00
parent 7e594aa3cb
commit a02de3a20f
3 changed files with 61 additions and 17 deletions

View File

@@ -182,7 +182,7 @@ const apiService = {
},
// 获取产品列表
getProducts(data) {
const url = `/home/product?sortType=1`
const url = `/home/product`
return new Promise((resolve, reject) => {
resolve(service.get(url, data))
})