Loading…

My membership card consumption details

```javascript WXAPI.cardMyLogs({ token: '000' }) ``` + token current user login credentials + page gets the page data. If this parameter is not passed, the default value is 1. + pageSize How many records are obtained per page? If this parameter is not passed, the default is 50 + cardId membership card ID + orderId business order ID + behavior 0 income; 1 expenditure + type transaction type 0 open card 1 adjust 2 purchase goods 21 close order return + types transaction type. To obtain multiple types at the same time, please separate them with commas. + dateAddBegin consumption time, format 2018-05-16 + dateAddEnd consumption time, format 2018-05-16 ```json { "code": 0, "data": { "result": [ { "amount": 100, "balance": 100, "behavior": 0, "cardId": 177, "dateAdd": "2022-07-06 09:00:40", "id": 686, "orderId": 3, "type": 0, "typeStr": "Open a card", "uid": 1940840, "userId": 951 } ], "totalRow": 1, "totalPage": 1 }, "msg": "success" } ```