虚拟订单列表
URL地址 | http://www.tpshop.com//index.php?m=api&c=virtual&a=virtual_list |
请求方式 | get |
参数列表
参数 | 是否必须 | 说明 |
user_id | 必选 | 用户id |
type | 可选 | 订单类型(见下方说明) |
| token | 必须 | token |
示例
{
"status":1,
"msg":"获取成功",
"result":[
{
"order_id":459,
"order_sn":"201709071548211064",
"master_order_sn":"",
"user_id":0,
"order_status":0,
"shipping_status":0,
"pay_status":0,
"consignee":"",
"country":0,
"province":0,
"city":0,
"district":0,
"twon":0,
"address":"",
"zipcode":"",
"mobile":"18516589423",
"email":"",
"shipping_code":"",
"shipping_name":"",
"pay_code":"",
"pay_name":"",
"invoice_title":"",
"goods_price":"304.00",
"shipping_price":"0.00",
"user_money":"0.00",
"coupon_price":"0.00",
"integral":0,
"integral_money":"0.00",
"order_amount":"304.00",
"total_amount":"304.00",
"add_time":1504770501,
"confirm_time":0,
"pay_time":0,
"transaction_id":null,
"shipping_time":1509379200,
"order_prom_id":0,
"order_prom_type":5,
"order_prom_amount":"0.00",
"discount":"0.00",
"user_note":"123456",
"admin_note":"",
"parent_sn":null,
"store_id":2,
"is_comment":0,
"deleted":0,
"order_statis_id":0,
"order_status_detail":"待支付",
"order_button":{
"pay_btn":1,
"cancel_btn":1,
"receive_btn":0,
"comment_btn":0
},
"order_goods":[
{
"rec_id":595,
"order_id":459,
"goods_id":172,
"goods_name":"虚拟商品66",
"goods_sn":"TP0000172",
"goods_num":4,
"market_price":"199.00",
"goods_price":"76.00",
"cost_price":"0.00",
"member_goods_price":"76.00",
"give_integral":0,
"spec_key":"38_47",
"spec_key_name":"CPU:双核 内存:16G",
"bar_code":"",
"is_comment":0,
"prom_type":0,
"prom_id":0,
"is_send":0,
"delivery_id":0,
"sku":"",
"store_id":2,
"commission":11,
"is_checkout":0,
"deleted":0,
"distribut":"0.00"
}
],
"store":{
"store_id":2,
"store_name":"海澜之家",
"store_qq":"1546415984"
}
}
}状态值
type参数值 WAITPAY => 待支付 PAYED => 已付款 FINISH => 已完成 不传递该参数默认查询所有订单数据
