1 2 3 4
//请求工具参考https://ext.dcloud.net.cn/plugin?id=392 const { http } = uni.$u // 查询商品spu列表
5 6 7
export const productSpuPage = params => http.get('product/spu/page', { params }) // 查询商品
8
export const getSpuDetail = id => http.get('product/spu/get-detail?id=' + id, { })