The backend can set different charging items for a certain member (gold member), such as: free trial for 7 days, 30 for a month, 50 for a quarter, 100 for a year, so that users can choose to purchase and activate by themselves.
```javascript
WXAPI.userLevelPrices(levelId)
```
+ levelId membership level id
```json
{
"code": 0,
"data": [
{
"duration": 1,
"id": 258,
"price": 100,
"unit": 1,
"unitStr": "month"
}
],
"msg": "success"
}
```
+ id charging item id
+ duration duration
+ unit Duration unit: 0 days 1 month 2 years
+ price price
As shown above, this membership level only supports monthly purchases, and the monthly fee is 100 yuan