文档
测试

删除购物车中商品

POST
/index.php?s=/api/cart/lists

请求参数

参数名
类型
描述
必填
goods_sku_id
选中的购物车id集合,拼接方法看说明
必填

说明 / 示例

``` /** * 获取已选中的商品 */ getCheckedIds() { let _this = this; let arrIds = []; _this.data.goods_list.forEach(item => { if (item.checked === true) { arrIds.push(item.goods_id + '_' + item.goods_sku_id); } }); return arrIds; }, ```