🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
~~~[api] post:/app/index.php?i=1&c=entry&m=ewei_shopv2&do=mobile&r=machine.cart.add *int:id#商品ID *int:total#购买数量 <<< success { "status": 1, "result": { "isnew": false, "cartcount": "20", "goodsid": 204, "url": "http:\/\/gat.xtow.net\/.\/" } } <<< error { "status": 0, "result": { "message": "商品未找到" } } ~~~ | 字段 | 描述 | | --- | --- | | isnew | 是否是新加入购物车的商品 | | total | 购买数量 | | cartcount | 购买数量 | | goodsid | 商品ID | | goodsid | 商品ID |