```javascript
WXAPI.fxCommisionLog({
token: '000'
})
```
具体参数说明:[《点击查看》](https://api.it120.cc/doc.html#/%E5%89%8D%E7%AB%AFapi%E6%8E%A5%E5%8F%A3%E6%96%87%E6%A1%A3/%E4%B8%89%E7%BA%A7%E5%88%86%E9%94%80/commisionLogUsingPOST_1)
```json
{
"code": 0,
"data": {
"result": [
{
"avatarUrls": "https://wx.qlogo.cn/mmopen/vi_32/Ok9O43CskonSu6aefKjuJzaQUGwjPboBXFovLUk5jSQsBAHiauKGeJicLj9Nc3lUUIMz4wpa7IuHM3d97M8BjJxA/132",
"bili": 28,
"dateAdd": "2020-09-21 10:00:27",
"dateSettlement": "2020-09-21 10:00:27",
"goodsName": "WiFi云标签机 FP-N20W",
"isCancel": false,
"isFixed": false,
"isSettlement": true,
"level": 1,
"money": 97.86,
"nicks": "㍈㌍㍃㌁㌛㌟㌈",
"orderId": 655041,
"orderType": 0,
"property": " 对接服务:系统对接",
"saleAmount": 0,
"uids": 1383014,
"unit": 0
}
],
"totalRow": 8,
"totalPage": 1,
"orderList": [
{
"amount": 1398,
"amountCard": 0,
"amountCoupons": 0,
"amountLogistics": 0,
"amountReal": 1398,
"amountRefundTotal": 0,
"amountTax": 0,
"amountTaxGst": 0,
"amountTaxService": 0,
"autoDeliverStatus": 0,
"dateAdd": "2020-09-21 10:00:18",
"dateAutoEnd": "2020-10-21 10:32:34",
"dateAutoReputation": "2020-09-28 10:32:34",
"dateClose": "2020-09-21 10:05:19",
"dateDelivery": "2020-09-28 10:32:34",
"dateUpdate": "2020-10-21 11:20:01",
"differHours": 12107,
"goodsNumber": 2,
"hasRefund": false,
"id": 655041,
"ip": "113.74.228.227",
"isCanHx": false,
"isDelUser": false,
"isEnd": true,
"isHasBenefit": true,
"isNeedLogistics": true,
"isPay": true,
"isScoreOrder": false,
"isSuccessPingtuan": false,
"jd8Status": 0,
"orderNumber": "20092110009510002",
"orderType": 0,
"payNumber": "ZF2009211670736031",
"periodAutoPay": false,
"pid": 0,
"qudanhao": "0002",
"refundStatus": 0,
"remark": "",
"score": 0,
"scoreDeduction": 0,
"shopId": 0,
"status": 4,
"statusStr": "交易成功",
"trips": 0,
"type": 0,
"uid": 1383014,
"userId": 951
}
],
"goodsMap": {
"590257": [
{
"afterSale": "0,1,2",
"amount": 700,
"amountSingle": 700,
"barCode": "P123456",
"buyRewardEnd": false,
"cyTableStatus": 0,
"dateAdd": "2020-07-21 10:48:42",
"dateReputation": "2020-07-31 16:20:02",
"fxType": 2,
"goodReputation": 2,
"goodReputationRemark": "系统默认好评",
"goodReputationStr": "好评",
"goodsId": 122843,
"goodsName": "小票打印机工厂定制版",
"id": 764483,
"isProcessHis": true,
"isScoreOrder": false,
"number": 1,
"numberNoFahuo": 0,
"orderId": 590257,
"pic": "https://dcdn.it120.cc/2020/04/15/0a86e7ef-3680-4f9f-a22c-2afb26672b7d.png",
"priceId": 2050946,
"property": "网络类型:WIFI,新订单提示:真人语音,切纸方式:自动切纸",
"propertyChildIds": "30899:320215,30900:320218,30901:320221,",
"purchase": false,
"refundStatus": 0,
"score": 0,
"shopId": 0,
"status": 4,
"type": 0,
"uid": 1383014,
"userId": 951
}
]
},
"userInviter": {
"1383014": {
"nick": "gooking(api工厂创始人)",
"uid": 1351478,
"avatarUrl": "https://7.s2m.cc/cuser/951/2021/12/15/c365b6cb-f688-4298-8455-2e57a63d4bc5.jpeg"
}
},
"aggregate": {
"sum_sale_amount": 0
}
},
"msg": "success"
}
```
+ result 佣金记录
- avatarUrls 下单用户头像
- uids 下单用户编号
- nicks 下单用户昵称
- bili 返佣比例
- dateAdd 交易时间
- dateSettlement 佣金结算时间
- goodsName 商品名称
- property 商品SKU信息
- isCancel 是否取消返佣
- isSettlement 是否已结算佣金
- level 用户关系级别(1为直推,2为间推)
- money 佣金金额
- orderId 订单ID
- orderType 0 内部订单; 1 外部订单
- saleAmount 销售额
- unit 0 金额 1 积分 2 MTJ
+ orderList 对应订单信息【字段说明详见订单相关接口】
+ goodsMap 订单对应的商品信息【字段说明详见订单相关接口】
+ userInviter 销售员信息【直推用户信息】
- nick 昵称
- uid 用户编号
- avatarUrl 头像
+ aggregate 汇总统计
- sum_sale_amount 累计销售额