首页,企业需求接口重新对接

This commit is contained in:
”chenxuelian“
2023-05-07 16:51:30 +08:00
parent e81b87f827
commit 7b84933f91
2 changed files with 9 additions and 5 deletions

View File

@@ -361,6 +361,13 @@ const apiService = {
resolve(service.get(url, data))
})
},
// 获取首页分类
getProductsByCateId(data) {
const url = `/home/plist`
return new Promise((resolve, reject) => {
resolve(service.get(url, data))
})
},
// 搜索发现 热搜
getDiscover() {
const url = `/home/discover`