登录 官网首页

订单详情

URL地址

http://www.tpshop.com/index.php?m=Api&c=Order&a=detail

请求方式

get

 参数列表

参数

是否必须

说明

user_id

必选

用户id

id

必选

订单id

token
必须
token

示例

 

{
   "status": 1,
   "msg": "获取成功",
   "result": {
       "order_id": "31",
       "order_sn": "1915",
       "user_id": "1",
       "order_status": "0",
       "shipping_status": "0",
       "pay_status": "1",
       "consignee": "叶先生",
       "country": "0",
       "province": "19",
       "city": "236",
       "district": "2336",
       "address": "通州区旗舰凯旋小区",
       "zipcode": "43r433",
       "mobile": "145345645445",
       "email": "text@ecshop.com",
       "shipping_code": "shunfeng",
       "shipping_name": "顺丰物流",
       "pay_code": "0",
       "pay_name": "",
       "invoice_title": "",
       "goods_price": "1326.00",
        "shipping_price":"100.00",
       "user_money": "10.00",
       "coupon_price": "50.00",
       "integral": "100",
       "integral_money": "1.00",
       "order_amount": "0.00",
       "add_time": "1450278305",
       "confirm_time": "0",
       "pay_time": "1451011470",
       "pay_btn": 1,           //是否显示支付按钮
       "cancel_btn": 1,         //是否显示取消订单按钮
       "receive_btn": 0,        //是否显示确认收货按钮
       "comment_btn": 0,        //是否显示评论按钮
       "shipping_btn": 0,        //是否显示查看物流按钮
       "return_btn": 0,                //显示退货按钮
       "order_prom_id":"0"    //优惠活动ID
       "order_prom_amount":"0"    //优惠活动
       "shipping_time": "0",
       "invoice_no": "",
       "pay_note": "",
       "discount": "0.00",
       "is_cod": "0",
       "goods_list": [],
       "total_fee": 1375
    }
}

文章未显示完整,要查看完整内容,请购买正版