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