vue-pro/yudao-ui-app/api/product.js

9 lines
291 B
JavaScript
Raw Normal View History

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