作者 lishaoshuai
1 个管道 的构建 通过 耗费 0 秒

更新 LeaveController.php

... ... @@ -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';
... ...