mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-23 15:51:52 +08:00
9 lines
291 B
JavaScript
9 lines
291 B
JavaScript
//请求工具参考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 getSpuDetail = id => http.get('product/spu/get-detail?id=' + id, { })
|