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

更新 LeaveController.php

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