ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
**简要描述:** - 拼团-结算详情/提交订单 **请求URL:** - ` api/team/buy ` **请求方式:** - post **参数:** |参数名|是否必选|类型|说明| |:---- |:---|:----- |----- | |pay_way | 可选/必选 |int | 支付方式(下单时必选) :1-微信支付 2-支付宝支付 3-余额支付 |item_id |必选 |int |商品id | |goods_num |必选 |int |商品数量 | |remark |可选 |string |用户备注 | |action |必选 |string |结算详情-info;提交订单-submit | |address_id |可选 |int |地址id | |type |可选/必选 |string |下单类型;购物车下单(cart);其余不传 | |order_source |可选/必选 |string |订单来源(下单必选,默认小程序);1-小程序;2-h5;3-ios;4-安卓 | |use_integral | 可选 | int | 是否使用积分;0-不使用;1-使用 **返回示例** ``` { "code": 1, "msg": "", "data": { "order_type": 2, "goods_lists": [{ "goods_name": "顺丰包邮 12期免息日本PILOT百乐Justus 95钢笔14K金尖FJ-3MR可调书写软硬金笔成人书法练字商务办公送礼盒装", "id": 10, "team_id": 1, "goods_id": 10, "item_id": 10, "team_price": "50.00", "sales_sum": 0, "del": 0, "name": "顺丰包邮 12期免息日本PILOT百乐Justus 95钢笔14K金尖FJ-3MR可调书写软硬金笔成人书法练字商务办公送礼盒装", "code": "656251", "first_category_id": 1, "second_category_id": 8, "third_category_id": 15, "brand_id": 2, "supplier_id": 1, "status": 1, "image": "", "remark": "好看", "content": "", "sort": 0, "virtual_sales_sum": 685, "click_count": 0, "spec_type": 1, "max_price": "1680.00", "min_price": "1680.00", "market_price": "2400.00", "stock": 2369, "stock_warn": 0, "is_show_stock": 1, "free_shipping_type": 1, "free_shipping": "0.00", "free_shipping_template_id": 0, "is_commission": 1, "first_ratio": "", "second_ratio": "", "three_ratio": "", "is_share_bouns": 0, "region_ratio": null, "shareholder_ratio": null, "is_new": 1, "is_best": 1, "is_like": 1, "is_team": 0, "create_time": 1607586032, "update_time": 1607586216, "spec_value_ids": "10", "spec_value_str": "默认", "price": "1680.00", "cost_price": "768.00", "volume": 2, "weight": 2, "bar_code": "36555", "original_price": "1680.00", "goods_price": "50.00", "goods_num": "25" }], "coupon_id": "1", "total_num": "25", "total_goods_price": 1250, "total_amount": 1250, "order_amount": 1250, "address": { "id": 1, "contact": "测试先生", "telephone": "13104997825", "province_id": 110000, "city_id": 110100, "district_id": 110101, "address": "测试小区", "is_default": 0, "province": "北京", "city": "北京市", "district": "东城区" }, "discount_amount": 0, "integral_amount": 0, "shipping_price": 0, "remark": "", "pay_way": "1", "user_money": "0.00", "user_use_integral": 0, "user_integral": 270, "integral_limit": 1000, "integral_switch": 1, "integral_config": 0.01, "team": { "joins": [{ "avatar": "http:\/\/www.likeshopv2.localhost\/uploads\/user\/avatar\/03f1dece077e0dd9d4053fb6029912a0.jpeg", "nickname": "Jason", "is_found": 0 }], "notice": "您正在参与2人团" } }, "show": 0, "time": "0.366239" } ``` **返回参数说明** |参数名|类型|说明| |:----- |:-----|----- | |total_num |int |订单总数量 |total_goods_price |float |订单商品总价 |total_shipping_price |float |订单快递总价格 |total_amount |float |订单总金额 |order_amount |float |订单应付金额 |discount_amount |float |订单优惠金额 |integral_amount |float |订单积分优惠金额 |shipping_price|float |订单总运费 |user_money | float | 用户余额 |integral_switch | int | 积分开关;0-关闭;1-开启 |integral_config | float | 1积分可以抵扣多少金额 |address |array |用户地址 |----province |string |省份 |----city |string |城市 |----district |string |地区 |----address |string |详细地址 |goods_lists |array |商品列表 |----item_id |int |商品规格id |----goods_id |int |商品id |----goods_name |string |商品名称 |----spec_value_str |string |规格信息 |----image_str |string |商品图片 |----goods_price | float | 商品价格 |----goods_num | int | 商品数量 |----shipping_price | int | 商品运费金额 **备注** - 这里是备注