早餐


订单确认

简要描述:

  • 订单确认

请求URL:

  • /wap/order/confirm

请求方式:

  • POST

参数:

参数名 必选 类型 说明
ct_id string 购物车id,多个,隔开
a_id int 地址id
cnu_id int 优惠券id,使用了就传值
send_time string 送货时间

返回示例

{
  "code": 0,
  "message": "",
  "data": {
    "cnu_id": 1,
    "list": [
      {
        "ct_id": 1,
        "g_id": 1,
        "u_id": 1,
        "ct_num": 2,
        "ct_price": "0.10",
        "ct_status": 0,
        "g_name": "烟台黄元帅大苹果",
        "g_image": "http://oss.qingshanzhenxuan.com/goodsBan/5f7d16e1e413c.png?x-oss-process=image/resize,p_30",
        "freight_amount": 0,
        "goods_amount": "0.20"
      }
    ],
    "goods_amount": "0.20",
    "freight_amount": "0.00",
    "coupon_amount": "0.00",
    "pay_amount": "0.20",
    "total_amount": "0.20",
    "coupon_list": [

    ],
    "u_id": 1,
    "a_id": 1,
    "address": {
      "a_id": 1,
      "province": 10006,
      "city": 10225,
      "area": 11896,
      "name": "曹犇",
      "phone": "18811905000",
      "is_default": 1,
      "address": "杨屯镇苏鲁商贸城",
      "province_name": "",
      "city_name": "",
      "area_name": ""
    }
  }
}

返回参数说明

参数名 类型 说明
integral_num string 积分数量
integral_amount string 积分抵扣金额
coupon_amount string 优惠券抵扣金额
freight_amount string 运费
total_amount string 订单金额

备注

  • 更多返回错误代码请看首页的错误代码描述

欢迎使用ShowDoc!

页面列表

ITEM_HTML