🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
**简要描述:** -订单结算页 **请求URL: - ` /api/order/settlement ` **请求方式: - POST **参数: |参数名 |必选 |类型 |说明 |参数示例 | |:--|:--|:--|:--|:--| |goods |是 |var |购买商品 |[{"goods_id":9,"item_id":9,"shop_id":1,"num":3},{"goods_id":9,"item_id":11,"shop_id":1,"num":3},{"goods_id":8,"item_id":8,"shop_id":2,"num":1}] | |address_id|否|int|地址id|115| |coupon_id|否|array|优惠券id|[6,7]| **返回示例 { "code": 1, "show": 0, "msg": "获取成功", "data": { "address": { "id": 8, "contact": "ghbjh", "telephone": "15077331753", "province_id": 450000, "city_id": 450200, "district_id": 450205, "address": "dgnnmk", "province": "广西壮族自治区", "city": "柳州市", "district": "柳北区" }, "shop": [ { "shop_id": 1, "shop_name": "手机店", "distribution_type_text": "快递", "distribution_type": 0, "goods": [ { "goods_id": 88, "item_id": 89, "shop_id": 1, "num": 1, "name": "韩国ins棕色考拉iphone11pro手机壳透明图案78plus/xs/xr/max软壳", "price": "18.00", "spec_value": "iphone 12", "image": "http://likeshopb2b2c.yixiangonline.com/uploads/images/202106111003203bcee5318.jpg" }, { "goods_id": 88, "item_id": 90, "shop_id": 1, "num": 1, "name": "韩国ins棕色考拉iphone11pro手机壳透明图案78plus/xs/xr/max软壳", "price": "16.00", "spec_value": "iPhone 11", "image": "http://likeshopb2b2c.yixiangonline.com/uploads/images/202106111003203bcee5318.jpg" } ], "shipping_price": "0.00", "total_amount": 24, "discount_amount": "10.00", "total_num": 2 } ], "order_type": 0, "total_amount": 24, "pay_way_text": "微信支付", "pay_way": 1 } }