|
|
|
@ -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];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|