uniapp:【商品详情】对接后端接口

This commit is contained in:
YunaiV
2022-12-26 21:29:19 +08:00
parent 92632c046c
commit d4ceceee8c
7 changed files with 49 additions and 82 deletions

View File

@ -5,4 +5,4 @@ const { http } = uni.$u
export const productSpuPage = params => http.get('product/spu/page', { params })
// 查询商品
export const productSpu = id => http.get('product/spu/get-detail?id=' + id, { })
export const getSpuDetail = id => http.get('product/spu/get-detail?id=' + id, { })