Merge remote-tracking branch 'origin/master'

This commit is contained in:
vilson 2019-02-13 22:06:50 +08:00
commit 0ab700ebf8

View File

@ -87,7 +87,7 @@ class DepartmentMember extends BasicApi
} }
if (!$department_code) { if (!$department_code) {
//从平台查询 //从平台查询
$memberList = Member::where([['email', 'like', "%{$keyword}%"]])->whereNotIn('code', $departmentMemberIds)->select()->toArray(); $memberList = Member::where([['email', '=', "{$keyword}"]])->whereNotIn('code', $departmentMemberIds)->select()->toArray();
if ($memberList) { if ($memberList) {
foreach ($memberList as $member) { foreach ($memberList as $member) {
$item = []; $item = [];