接口变更说明:
变更说明:
将原接口中的订单列表移到了list下,将list字段放在data列表下,并将原接口中的订单位点、页码、每页数量等数据一起放到data列表下,与list同层级。
订单数据格式:
原订单数据格式:
{"code": 200,"data": [{"adzone_id": "xxxx","adzone_name": "test","alimama_rate": "0.00","alimama_share_fee":
"0.00","click_time": "2019-05-15 18:23:26","flow_source": "--","income_rate": "4.50","item_category_name": "食品-零食/特
产","item_id": "xxxx","item_img": "//img.alicdn.com/bao/uploaded/i2/628189716/O1CN01leSoTT2xxxxxxx53dJ_!!0-
item_pic.jpg","item_link": "http://item.taobao.com/item.htm?id=xxxxxx","item_num": "1","item_price": "59.80","item_title": "休闲零
食小吃整箱","order_type": "聚划算","pub_id": "xxxx","pub_share_fee": "0.00","pub_share_pre_fee": "0.00","pub_share_rate":
"100.00","refund_tag": "0","seller_nick": "xxxx","seller_shop_title": "xxxx","site_id": "xxxx","site_name": "xxxx","subsidy_fee":
"0.00","subsidy_rate": "0.00","subsidy_type": "--","terminal_type": "无线","tk_create_time": "2019-05-15
18:23:59","tk_order_role": "2","tk_status": "13","tk_total_rate": "4.50","total_commission_fee": "0.00","total_commis
sion_rate": "4.50","trade_id": "xxxx","trade_parent_id": "xxxx"}],"has_pre": "false","position_index": "155xxx06_wgzRlYoWsn2|155xxx839_wNvb3quM6I2","has_next": "false","page_no": "1","page_size": "20","msg": "获取成功"}
重构版订单数据格式:
{"code":200,"data":{"list":[{"adzone_id":xxxx,"adzone_name":"拉新活
动","alimama_rate":"0.00","alimama_share_fee":"0.00","alipay_total_price":"36.90","click_time":"2019-10-14
21:38:27","deposit_price":"0.00","flow_source":"--","income_rate":"2.10","item_category_name":"玩具/童车/益智/积木/模
型","item_id":xxxxx,"item_img":"//img.alicdn.com/bao/upxxxxx287.jpg","item_link":"http://item.taobao.com/item.htm?
id=xxxxxx","item_num":1,"item_price":"79.80","item_title":"磁力xxxxx装益智","order_type":"天
猫","pay_price":"36.90","pub_id":xxxxxx,"pub_share_fee":"0.77","pub_share_pre_fee":"0.77","pub_share_rate":"100.00","refund
_tag":0,"seller_nick":"好xxx店","seller_shop_title":"好xxxx店","site_id":xxxxxx,"site_name":"喵有
券","subsidy_fee":"0.00","subsidy_rate":"0.00","subsidy_type":"--","tb_deposit_time":"--","tb_paid_time":"2019-10-14
21:43:33","terminal_type":"无
线","tk_commission_fee_for_media_platform":"0.00","tk_commission_pre_fee_for_media_platform":"0.00","tk_commission_rate
_for_media_platform":"0.00","tk_create_time":"2019-10-14 21:43:37","tk_deposit_time":"--","tk_earning_time":"2019-10-25
17:42:23","tk_order_role":2,"tk_paid_time":"2019-10-14
21:43:43","tk_status":3,"tk_total_rate":"2.10","total_commission_fee":"0.77","total_commission_rate":"2.10","trade_id":"664xxxx
xx7","trade_parent_id":"664xxxxxx47"}],"has_pre":false,"position_index":"15xxxx4_N5AHPxxx6352|157xxxx17_N4uxxxxPZJ2","
has_next":false,"page_no":1,"page_size":20},"msg":"success"}