Loading…

User income and expenditure statistics

```javascript WXAPI.statisticsComingOutV2({ token: '000' }) ``` + token current user login credentials + behavior 0 income; 1 expenditure + day statistical date string: yyyyMM + fillEmptyType month: fill by month + fillEmpty whether to fill in at least 12 months of data + page gets the page data. If this parameter is not passed, the default value is 1. + pageSize How many pieces of data are obtained per page? If this parameter is not passed, the default is 50 ```javascript { "code": 0, "data": { "result": [ { "amount": 29.4, "behavior": 0, "day": "202201", "id": 108414 }, { "amount": 23, "behavior": 1, "day": "202201", "id": 107551 }, { "amount": 13.8, "behavior": 0, "day": "202111", "id": 82560 } ], "totalRow": 3, "totalPage": 1 }, "msg": "success" } ```