...
|
...
|
@@ -85,7 +85,7 @@ class LeaveController extends RestBaseController |
|
|
$condition['l.parent_id'] = 0;
|
|
|
if ($this->userId && $this->userType == 2) {//用户
|
|
|
$condition['l.from_uid'] = $this->userId;
|
|
|
$field = 'l.id,l.to_uid,to.avatar,c.name,content,l.create_time';
|
|
|
$field = 'l.id,l.to_uid,to.avatar,c.name,content,l.create_time,l.from_uid';
|
|
|
} elseif ($this->userId && $this->userType == 3) {//信贷员
|
|
|
$condition['l.to_uid|l.from_uid'] = $this->userId;
|
|
|
$field = 'l.id,l.to_uid,from.avatar,from.user_nickname name,content,l.create_time,l.from_uid';
|
...
|
...
|
|