Loading…

Read points details

Every time a user's points change, a corresponding detailed record will be generated, similar to fund details. This way you can view information about every change in points ```javascript WXAPI.scoreLogs({ page: 1, pageSize: 50 }) ``` + page reads which page of data. If this parameter is not passed, the default value is 1. + pageSize How many records are displayed on each page of data? If this parameter is not passed, the default is 50 + token current user login credentials + behavior income and expenditure method 0 income 1 expenditure + dateAddBegin start time filter, 2017-11-22 + dateAddEnd deadline filtering, 2017-11-22 + remark remark keyword search + type Type 0 Registration 1 Invite friends 2 Daily check-in 3 Redeem coupons 4 Administrator adjustments 5 Recharge for free 6 Spending rebates Return example ```json { "code": 0, "data": { "result": [ { "behavior": 1, "behaviorStr": "Expenditure", "dateAdd": "2021-11-13 19:21:46", "remark": "10 points exchange for 20.00 amount", "score": -10, "scoreLeft": 0, "type": 16, "typeStr": "Exchange into amount" }, { "behavior": 0, "behaviorStr": "income", "dateAdd": "2021-11-09 10:55:42", "remark": "Points coupon:bq9Pbh7A", "score": 10, "scoreLeft": 10, "type": 12, "typeStr": "Points Voucher" } ], "totalRow": 2, "totalPage": 1 }, "msg": "success" } ```