[TOC]
## 商家列表
~~~[api]
post:/settlement/bulist
*int:page=1#
*int:limit=10#
<<<
success
~~~
## 业务员列表
~~~[api]
post:/settlement/userlist
*int:page=1#
*int:limit=10#
<<<
success
~~~
## 商家结算列表
~~~[api]
post:/settlement/listbybu
*int:ub_id=1#商家ID
*int:state=0# 0-未结算,1-已结算
*int:page=1#
*int:limit=10#
string:start=2019-03-03#
string:end=2019-03-03#
<<<
success
~~~
## 业务员结算列表
~~~[api]
post:/settlement/listbyuser
*int:ub_id=1#员工ID
*int:state=0# 0-未结算,1-已结算
*int:page=1#
*int:limit=10#
string:start=2019-03-03#
string:end=2019-03-03#
<<<
success
~~~
## 获取结算金额
~~~[api]
post:/settlement/getmoney
*int:last_id=1#要结算的最后一条ID
*int:business_id=1# 商家ID,结算业务员时传0;
*int:user_id=10# 业务员ID,结算商家时传0
<<<
success
~~~
## 业务员结算列表
~~~[api]
post:/settlement/settle
*int:last_id=1#要结算的最后一条ID
*int:business_id=1# 商家ID,结算业务员时传0;
*int:user_id=10# 业务员ID,结算商家时传0
<<<
success
~~~