[TOC]
## 获取默认分销设置
```php
global $_S;
$set = $_S['commission'];
```
## 一键获取分销设置
```
$commission = m('common')->getPluginset('commission');
```
## 快速增加余额积分并记录
``credit2`` 余额
``credit1`` 积分
```
m('member')->setCredit($_W['openid'], 'credit2',20,"");
```
## 快速获取用户信息
```
$m = m('member')->getMember($openid);
```