Blame view

yudao-ui-app/api/product.js 291 Bytes
e2a6530a   luowenfeng   feature(uniapp分类)...
1
2
3
4
  //请求工具参考https://ext.dcloud.net.cn/plugin?id=392
  const { http } = uni.$u
  
  // 查询商品spu列表
af6a0224   luowenfeng   feature(uniapp商品)...
5
6
7
  export const productSpuPage = params => http.get('product/spu/page', { params })
  
  // 查询商品
d4ceceee   YunaiV   uniapp:【商品详情】对接后端接口
8
  export const getSpuDetail = id => http.get('product/spu/get-detail?id=' + id, { })