新增搜索出的产品列表
This commit is contained in:
@@ -196,10 +196,10 @@ const apiService = {
|
||||
})
|
||||
},
|
||||
// 获取产品列表
|
||||
getProducts(data) {
|
||||
const url = `/home/product`
|
||||
getProducts() {
|
||||
const url = `/home/product?sortType=1&pageSize=4&pageNum=1`
|
||||
return new Promise((resolve, reject) => {
|
||||
resolve(service.get(url, data))
|
||||
resolve(service.get(url))
|
||||
})
|
||||
},
|
||||
// 获取产品详情
|
||||
@@ -232,7 +232,7 @@ const apiService = {
|
||||
},
|
||||
// 获取认证厂家详情
|
||||
getCertifiedCjDetail(id) {
|
||||
const url = `/news/fdetail?fId=1`
|
||||
const url = `/news/fdetail?fId=${id}`
|
||||
return new Promise((resolve, reject) => {
|
||||
resolve(service.get(url, id))
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user