```javascript
WXAPI.cardMyList(token)
```
+ token 当前用户登陆凭证
```json
{
"code": 0,
"data": [
{
"amount": 100,
"cardId": 3,
"cardInfo": {
"amount": 100,
"endType": 0,
"id": 3,
"name": "农夫山泉桶装水水票",
"price": 19,
"refs": "1:235853",
"shopIds": "",
"status": 0,
"statusStr": "正常",
"type": 0,
"typeStr": "次卡",
"userId": 951
},
"dateAdd": "2022-07-06 09:00:40",
"dateEnd": "2122-07-06",
"id": 177,
"status": 0
}
],
"msg": "success"
}
```
+ cardInfo 卡规则信息
- type 0 次卡 1 储值卡
- typeStr type 对应的卡类型的中文描述
- amount 卡面额(多少次或者多少元)
- price 会员卡售价
- status 0 正常 1 停用
- statusStr 对应的status的中文描述
- shopIds 可以用在哪些门店(门店id),多个门店用英文逗号分隔
- refs 0:123,1:456 0为分类1为商品;满足上面的商品才能使用本次卡
+ status 0 正常使用 1 停用 2 用完 3 过期
+ amount 余额(多少次或者多少元)
+ dateAdd 发卡时间
+ dateEnd 到期时间
+ id 用户的会员卡ID
+ cardId 卡规则ID