```javascript
WXAPI.fxSetting()
```
```json
{
"code": 0,
"data": {
"canBuy": true,
"earningsPercent": 0,
"inviteNumberUpgrade": 0,
"inviteRegister": false,
"isOpen": false,
"maxLevel": 3,
"p1": 0,
"p2": 0,
"p3": 0,
"price": 3,
"robNopay": true,
"robPayFirst": true,
"scoreSignOpen": true,
"triggerType": 0,
"triggerTypeStr": "Refund upon payment",
"type": 0,
"typeStr": "cash rebate",
"version": 2,
"widthdrawType": 0,
"widthdrawTypeStr": "Manual withdrawal"
},
"msg": "success"
}
```
+ isOpen Distribution Master Switch
+ Does canBuy support becoming a distributor through direct purchase?
+ price If `canBuy` is true, then how much amount needs to be paid to purchase and become a distributor?
+ earningsPercent product rebate ratio (what proportion of product sales is used as a commission pool for distribution)
+ inviteNumberUpgradeThe number of people invited will be automatically upgraded to distributors (0 means no automatic upgrade)+ inviteRegister If true, the user cannot actively register and must be invited by the distributor to register successfully.
+ maxLevel distribution level, a number from 1 to 3, up to three levels
+ p1 Direct referral commission rate
+ p2 Indirect referral commission rate
+ p3 Level 3 recommendation rebate ratio
+ robNopay allows grabbing customers without placing an order
+ robPayFirst allows grabbing customers when placing an order for the first time
+ scoreSignOpen whether to open**Sign in points and commissions**
+ triggerType 0 means rebate immediately after payment; 1 means rebate after successful transaction
+ type 0 cash rebate; 1 point rebate
+ widthdrawType 0 manual withdrawal; 1 WeChat payment