简要描述:

  • 接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 kevin 2020-07-15

请求URL:

请求方式:

  • POST

请求头:

参数名 是否必须 类型 说明
token string token参数

配送 请求参数:

参数名 是否必须 类型 说明
type int 固定值 1
param string 商品json字符串
username string 用户名
phone string 手机号
address string 地址
order_remark string 订单备注

自提 请求参数:

参数名 是否必须 类型 说明
type int 固定值 2
param string 商品json字符串
user_get_phone string 自提手机号
user_get_time string 自提时间
order_remark string 订单备注

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "下单成功",
    "data": {
        "goods_order_id": 3,
        "goods_order_num": "202007062232465038644308",
        "goods_cart_num": 0
    },
    "other": []
}

失败时返回:

{
    "status": 0,
    "msg": "添加失败"
}

返回参数说明:

参数名 类型 说明
goods_order_id int 订单id
goods_order_num int 订单号
goods_cart_num int 购物车数量

备注:

文档更新时间: 2020-07-20 14:37   作者:admin