mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-27 01:32:03 +08:00
9 lines
289 B
JavaScript
9 lines
289 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 productSpu = id => http.get('product/spu/get-detail?id=' + id, { })
|