...
|
...
|
@@ -80,6 +80,7 @@ class OrderpageController extends WeChatBaseController{ |
|
|
//判断这个用户所属哪个业务员
|
|
|
$uid = cmf_get_current_user_id();
|
|
|
$user = Db::name('my_user') -> where('uid',$uid) -> find();
|
|
|
$salesman = '';
|
|
|
//当当前用户为老师时
|
|
|
if($user['status'] == 3){
|
|
|
$salesman = Db::name('my_user') -> where('id',$user['pid']) -> find();
|
...
|
...
|
|