ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
### 基本信息 **Path:** /api/order/confirm **Method:** POST **接口描述:** ### 请求参数 **Headers** | 参数名称 | 参数值 | 是否必须 | 示例 | 备注 | | --- | --- | --- | --- | --- | | Content-Type | application/x-www-form-urlencoded | 是 | | | **Body** | 参数名称 | 参数类型 | 是否必须 | 示例 | 备注 | | --- | --- | --- | --- | --- | | cartId | text | 是 | 1 | 购物车编号 (多个请用英文状态逗号隔开 1,2,3) | ### 返回数据 | 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 | | --- | --- | --- | --- | --- | --- | | status | number | 必须 | | | | | msg | string | 必须 | | | | | data | object | 非必须 | | | | | ├─ usableCoupon | object | 非必须 | | 可使用的优惠券 如果没有返回null | | | ├─ id | integer | 必须 | | 领取优惠券编号 | | | ├─ cid | integer | 必须 | | 优惠券编号 | | | ├─ uid | integer | 必须 | | 用户编号 | | | ├─ coupon\_title | string | 必须 | | 优惠券名称 | | | ├─ coupon\_price | string | 必须 | | 优惠券抵扣金额 | | | ├─ use\_min\_price | string | 必须 | | 优惠券最低消费金额 | | | ├─ add\_time | number | 必须 | | 优惠券领取时间 | | | ├─ end\_time | number | 必须 | | 优惠券结束时间 | | | ├─ use\_time | number | 必须 | | 优惠券使用时间 | | | ├─ type | string | 必须 | | 优惠券获取方式|get=前台领取,send=后台发放 | | | ├─ status | number | 必须 | | 优惠券状态|0=未使用,1=已使用,2=已过期 | | | ├─ is\_fail | number | 必须 | | 优惠券是否有效|0=有效,1=无效 | | | ├─ offline\_pay\_status | string | 非必须 | | 线下支付状态|1=开启,2=关闭 | | | ├─ seckill\_id | integer | 非必须 | | 秒杀产品编号 | | | ├─ cartInfo | object \[\] | 非必须 | | 购物车信息 | item 类型: object | | ├─ id | integer | 非必须 | | 购物车编号 | | | ├─ uid | integer | 非必须 | | 用户编号 | | | ├─ type | string | 非必须 | | 产品类型默认product | | | ├─ product\_id | integer | 非必须 | | 普通产品编号 | | | ├─ product\_attr\_unique | string | 非必须 | | 产品属性 | | | ├─ cart\_num | number | 非必须 | | 购物车数量 | | | ├─ add\_time | number | 非必须 | | 添加购物车时间 | | | ├─ is\_pay | number | 非必须 | | 是否下单|1=是,0=否 | | | ├─ is\_del | number | 非必须 | | 是否删除|0=是,1=否 | | | ├─ is\_new | number | 非必须 | | 购买方式|1=直接购买,0=购物车购买 | | | ├─ combination\_id | integer | 非必须 | | 拼团产品编号 | | | ├─ seckill\_id | integer | 非必须 | | 秒杀产品编号 | | | ├─ bargain\_id | number | 非必须 | | 砍价产品编号 | | | ├─ productInfo | object | 非必须 | | 购物车详细信息 | | | ├─ id | integer | 非必须 | | 产品编号 | | | ├─ image | string | 非必须 | | 产品图片 | | | ├─ slider\_image | string \[\] | 非必须 | | 产品轮播图 | item 类型: string | | ├─ | | 非必须 | | | | | ├─ price | string | 非必须 | | 产品售价 | | | ├─ ot\_price | string | 非必须 | | 产品市场价 | | | ├─ vip\_price | string | 非必须 | | 产品会员价 | | | ├─ postage | string | 非必须 | | 是否包邮|1=是,0=否 | | | ├─ mer\_id | integer | 非必须 | | 商户编号 | | | ├─ give\_integral | string | 非必须 | | 赠送积分 | | | ├─ cate\_id | integer | 非必须 | | 产品分类编号 | | | ├─ sales | number | 非必须 | | 产品销量 | | | ├─ stock | number | 非必须 | | 产品库存 | | | ├─ store\_name | string | 非必须 | | 产品名称 | | | ├─ store\_info | string | 非必须 | | 产品简介 | | | ├─ unit\_name | string | 非必须 | | 产品单位 | | | ├─ is\_show | number | 非必须 | | 是否显示|1=显示,0=隐藏 | | | ├─ is\_del | number | 非必须 | | 是否删除|0=显示,1=隐藏 | | | ├─ is\_postage | number | 非必须 | | 是否包邮|0=否,1=是 | | | ├─ cost | string | 非必须 | | 产品成本价 | | | ├─ truePrice | number | 非必须 | | 购物车产品支付金额 | | | ├─ vip\_truePrice | number | 非必须 | | 购物车产品会员支付金额 | | | ├─ trueStock | number | 非必须 | | 产品库存 | | | ├─ costPrice | string | 非必须 | | 购物车产品成本价 | | | ├─ priceGroup | object | 非必须 | | 金额信息 | | | ├─ storePostage | number | 非必须 | | 邮费基础价 | | | ├─ storeFreePostage | number | 非必须 | | 满额包邮 | | | ├─ totalPrice | string | 非必须 | | 订单总金额 | | | ├─ costPrice | string | 非必须 | | 订单成本价 | | | ├─ vipPrice | string | 非必须 | | 订单会员优惠金额 | | | ├─ orderKey | string | 非必须 | | 订单缓存标识 | | | ├─ offlinePostage | string | 非必须 | | 线下支付是否包邮|0=否,1=是 | | | ├─ userInfo | object | 非必须 | | 用户信息 | | | ├─ uid | integer | 非必须 | | 用户编号 | | | ├─ account | string | 非必须 | | 用户账号 | | | ├─ real\_name | string | 非必须 | | 用户姓名 | | | ├─ birthday | number | 非必须 | | 用户生日 | | | ├─ card\_id | string | 非必须 | | 用户身份证号 | | | ├─ mark | string | 非必须 | | 用户备注 | | | ├─ partner\_id | number | 非必须 | | 合伙人id | | | ├─ group\_id | number | 非必须 | | 用户分组id | | | ├─ nickname | string | 非必须 | | 用户昵称 | | | ├─ avatar | string | 非必须 | | 用户头像 | | | ├─ phone | string | 非必须 | | 用户手机号 | | | ├─ add\_time | number | 非必须 | | 用户添加时间 | | | ├─ add\_ip | string | 非必须 | | 用户添加ip | | | ├─ last\_time | number | 非必须 | | 用户最后一次登录时间 | | | ├─ last\_ip | string | 非必须 | | 用户最后一次登录ip | | | ├─ now\_money | string | 非必须 | | 用户余额 | | | ├─ integral | string | 非必须 | | 用户积分 | | | ├─ sign\_num | number | 非必须 | | 连续签到天数 | | | ├─ status | number | 非必须 | | 用户状态|1=正常,0=禁止 | | | ├─ level | number | 非必须 | | 用户等级 | | | ├─ spread\_uid | number | 非必须 | | 用户上级编号 | | | ├─ spread\_time | number | 非必须 | | 用户绑定上级时间 | | | ├─ user\_type | string | 非必须 | | 用户类型 | | | ├─ is\_promoter | number | 非必须 | | 推广人权限|1=是,0=否 | | | ├─ pay\_count | number | 非必须 | | 用户支付次数 | | | ├─ spread\_count | number | 非必须 | | 用户下级推广人数 | | | ├─ clean\_time | number | 非必须 | | 清理会员时间 | | | ├─ addres | string | 非必须 | | 用户详细地址 | | | ├─ vip | boolean | 非必须 | | 会员状态 | | | ├─ vip\_id | number | 非必须 | | 会员编号 | | | ├─ discount | string | 非必须 | | 会员享受折扣 | | | ├─ integralRatio | string | 非必须 | | 积分抵用比例 | | | ├─ deduction | boolean | 非必须 | | 是否营销产品|true=是,false=否 | |