//根据member_id获取uid
```
m('dividend')->getUid($member_id);
```
根据uid获取member_id
```
m('dividend')->getMid($dividend_id);
```
获取当前店铺的等级
```
m('dividend')->getLevel($dividend_id,$merch_id);
```
获取店铺的全部等级
```
m('dividend')->getLevels($merch_id);
```
店铺升级
```
m('dividend')->upgrade($dividend_id,$merch_id);
```
上级店铺是否升级
```
m('dividend')->parent_upgrade($dividend_id,$merch_id);
```
设置店铺等级
```
m('dividend')->setLevels($merch_id);
```
获取订单归属区域店铺id
```
m('dividend')->getAagent($address,$merch_id);
```
获取营销赋能id
```
m('dividend')->getEnabledId($dividend_id,$merch_id);
```
- 数据表
- ims_ewei_shop_college_clickcount
- ims_ewei_shop_contract
- ims_ewei_shop_contract_category
- ims_ewei_shop_contract_log
- ims_ewei_shop_member_bonus
- ims_ewei_shop_member_task
- ims_ewei_shop_member_withdraw
- ims_ewei_shop_founder
- ims_ewei_shop_founder_bill
- ims_ewei_shop_dividend_recharge
- ims_ewei_shop_bank
- ims_ewei_shop_member
- ims_ewei_shop_member_recharge
- ims_ewei_shop_license_agency
- ewei_shop_merch_bonus
- ims_ewei_shop_merch_dividend_level
- ims_ewei_shop_merch_pay
- ims_ewei_shop_order
- ims_ewei_shop_order_goods
- ims_ewei_shop_order_refund
- ims_ewei_shop_account
- ims_ewei_shop_member_info
- ims_ewei_shop_user
- ims_ewei_shop_user_info
- ims_ewei_shop_dividend_merch
- ims_ewei_shop_dividend_upgrade
- ims_ewei_shop_cash_record
- model
- 店铺model
- 云计算model
- QrcodeModel
- 商学院model
- common
- 灵活用工model
- memberModel
- 散记
- 云计算数据库
- 用户完成任务信息表
- 用户任务培训/合同签订表