Merge pull request '有害' (#456) from feature/market_department_search into master

Reviewed-on: http://8.136.139.249:3000/wmtx/platform/pulls/456
master
廖金灵 3 years ago
commit 9d3d12d6f3

@ -2932,7 +2932,8 @@ function getSearchAdminIds($searchAdminParam = 'admin_id', $searchDepartmentPara
}
if (is_null($adminIds) && isset($_REQUEST[$searchDepartmentParam])) {
$adminIds = explode(',', A("Market","Event")->getMarketGroupId($_REQUEST[$searchDepartmentParam]));
$groupIds = explode(',', A("Market","Event")->getMarketGroupId($_REQUEST[$searchDepartmentParam]));
$adminIds = M("auth_group_access")->where(['group_id' => ['in', $groupIds]])->getField('uid', true);
$adminIds = count($adminIds) ? $adminIds : [-1];
}

Loading…
Cancel
Save