简要描述:
- 代理订单
请求URL:
POST:一级域名/index.php?s=/wapapi/addons/execute/addons/agent/controller/agent/action/distributionOrder
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
page_index | 否 | int | 分页第几页 |
page_size | 否 | int | 分页大小,默认14 |
order_status | 否 | int | 订单状态 0->未支付,1->已付款,2->已发货,3->确认收货,4->已完成,5->已关闭 |
返回示例:
正确时返回:
{
"data": [{
buyer_headimg: "https://wx.qlogo.cn/mmopen/vi_32/DMz9ic0fTeUPnGS0Kevar9Ann8iccIqlHq0JTjOcb35aa7Rq0MadQqKH4NI1qOU8F68JSxDoSib9EG16AaGQmSOhg/132"
buyer_name: "18819283608"
buyer_nick_name: ""
buyer_user_name: ""
buyer_user_tel: "18819283608"
"order_id": 112,
"order_no": "201806280000001",
"out_trade_no": "153016947182321000",
"order_type": 1,
"payment_type": 5,
"shipping_type": 1,
"order_from": "1",
"buyer_id": 73,
"user_name": "dddliao",
"buyer_ip": "119.131.76.183",
"buyer_message": "",
"buyer_invoice": "",
"receiver_mobile": "18819446714",
"receiver_province": 21,
"receiver_city": 232,
"receiver_district": 1977,
"receiver_address": "2342134",
"receiver_zip": "",
"receiver_name": "廖剑涛",
"shop_id": 44,
"shop_name": "bbb直营店2",
"seller_star": 0,
"seller_memo": "",
"consign_time_adjust": 0,
"goods_money": "100.00",
"member_money": "100.00",
"order_money": "110.00",
"point": 0,
"point_money": "0.00",
"coupon_money": "0.00",
"coupon_id": 0,
"user_money": "0.00",
"user_platform_money": "110.00",
"promotion_money": "0.00",
"shipping_money": "10.00",
"pay_money": "0.00",
"refund_money": "0.00",
"coin_money": "0.00",
"give_point": 11,
"give_coin": "0.00",
"order_status": 1,
"pay_status": 2,
"shipping_status": 0,
"review_status": 0,
"feedback_status": 0,
"is_evaluate": 0,
"tax_money": "0.00",
"shipping_company_id": 1,
"give_point_type": 2,
"pay_time": 1530169471,
"shipping_time": 1530169471,
"sign_time": 0,
"consign_time": 0,
"create_time": 1530169471,
"finish_time": 0,
"is_deleted": 0,
"operator_type": 0,
"operator_id": 0,
"refund_balance_money": "0.00",
"website_id": 9,
"commission": 0,
"commissionA": 0,
"commissionB": 0,
"commissionC": 0,
"point": 0,
"pointA": 0,
"pointB": 0,
"pointC": 0,
"commissionA_id": 0,
"commissionA_name": null,
"commissionB_id": 0,
"commissionB_name": null,
"commissionC_id": 0,
"commissionC_name": null,
"receiver_province_name": "海南省",
"receiver_city_name": "海口市",
"receiver_district_name": "秀英区",
"refund_goods_num": 0,
"order_item_list": [{
"commission": "2.00",
"point": "2.00",
"order_goods_id": 95,
"order_id": 112,
"goods_id": 20,
"goods_name": "3243231",
"sku_id": 20,
"sku_name": "",
"real_money": "100.00",
"price": "100.00",
"cost_price": "0.00",
"num": "1",
"adjust_money": "0.00",
"goods_money": "100.00",
"goods_picture": 74,
"shop_id": 44,
"buyer_id": 73,
"point_exchange_type": 0,
"goods_type": "0",
"promotion_id": 0,
"promotion_type_id": 0,
"order_type": 1,
"order_status": 0,
"give_point": 10,
"shipping_status": 0,
"refund_type": 1,
"refund_require_money": "0.00",
"refund_reason": "",
"refund_shipping_code": "",
"refund_shipping_company": "0",
"refund_real_money": "0.00",
"refund_status": 0,
"memo": "",
"is_evaluate": 0,
"refund_time": 0,
"refund_balance_money": "0.00",
"tmp_express_company": "",
"tmp_express_company_id": 0,
"tmp_express_no": "",
"website_id": 9,
"actual_price": "0.00",
"shipping_fee": "0.00",
"code": null,
"spec": [],
"picture": {
"pic_id": 74,
"shop_id": 0,
"album_id": 67,
"is_wide": 0,
"pic_name": "1524450349",
"pic_tag": "6faef7841854263ff5c2de",
"pic_cover": "upload\/9\/44\/goods\/20180423\/1524450349.jpg",
"pic_size": "640,1008",
"pic_spec": "640,1008",
"pic_cover_big": "upload\/9\/44\/goods\/20180423\/840e635559b19f1b42c2a3958bc27b5d1.jpg",
"pic_size_big": "700,700",
"pic_spec_big": "700,700",
"pic_cover_mid": "upload\/9\/44\/goods\/20180423\/840e635559b19f1b42c2a3958bc27b5d2.jpg",
"pic_size_mid": "360,360",
"pic_spec_mid": "360,360",
"pic_cover_small": "upload\/9\/44\/goods\/20180423\/840e635559b19f1b42c2a3958bc27b5d3.jpg",
"pic_size_small": "240,240",
"pic_spec_small": "240,240",
"pic_cover_micro": "upload\/9\/44\/goods\/20180423\/840e635559b19f1b42c2a3958bc27b5d4.jpg",
"pic_size_micro": "60,60",
"pic_spec_micro": "60,60",
"upload_time": 1524450351,
"upload_type": 1,
"domain": "",
"bucket": "",
"website_id": 9
},
"refund_operation": "",
"new_refund_operation": "",
"status_name": ""
}],
"operation": [{
"no": "delivery",
"color": "green",
"name": "发货"
}, {
"no": "seller_memo",
"color": "#8e8c8c",
"name": "添加备注"
}, {
"no": "update_address",
"color": "#51A351",
"name": "修改地址"
}],
"order_from_name": "微信端",
"order_from_tag": "fa fa-weixin",
"pay_type_name": "余额支付",
"shipping_type_name": "商家配送",
"member_operation": [],
"status_name": "待发货",
"is_refund": 1
}],
"code":0
"total_count": 1,
"page_count": 1
}
错误时返回:
{
"code": -1,
"message": "暂无数据"
}
返回参数说明:
参数名 | 类型 | 说明 | |
---|---|---|---|
order_no | string | 订单号 | |
out_trade_no | string | 外部交易号 | |
shipping_type_name | string | 配送方式名称 | |
order_from_name | string | 订单来源名称 | |
status_name | string | 订单状态名称 | |
goods_money | int | 商品价格 | |
order_money | int | 订单价格 | |
create_time | int | 订单创建时间 | |
goods_name | string | 商品名称 | |
sku_name | string | 规格名称 | |
num | int | 商品数量 | |
pic_cover | string | 商品图片地址 | |
commission | int | 第一个是订单佣金 | |
commission | int | 第二个是订单商品佣金 | |
point | int | 第一个是订单积分 | |
point | int | 第二个是订单商品积分 | |
total_count | int | 总数据条数 | |
page_count | int | 总分页数 | |
page_index | int | 当前分页 | |
page_size | int | 分页大小,默认14 | |
buyer_name | int | 购买者的用户名 | |
buyer_nick_name | int | 购买者的昵称名 | |
buyer_user_name | int | 购买者的用户名 | |
buyer_user_tel | int | 购买者的手机号 | |
buyer_id | int | 购买者的ID | |
buyer_headimg | int | 购买者的头像 |