Commit 0ba5c24c authored by zhuwei's avatar zhuwei

1

parent 5192a21f
...@@ -163,9 +163,10 @@ class User extends Basic ...@@ -163,9 +163,10 @@ class User extends Basic
if (isset($params['site_id']) ) { if (isset($params['site_id']) ) {
$conditions['a.site_ids'] = [ 'LIKE', '%' . $params['site_id'] . '%' ]; $conditions['a.site_ids'] = [ 'LIKE', '%' . $params['site_id'] . '%' ];
}else{
$conditions['a.site_ids'] = [ 'LIKE', '%' . $this->siteId. '%' ];
} }
// else{
// $conditions['a.site_ids'] = [ 'LIKE', '%' . $this->siteId. '%' ];
// }
$return_user_list = $this->userModel->selectUserList($field, $conditions, $pageNo, $pageSize, $order); $return_user_list = $this->userModel->selectUserList($field, $conditions, $pageNo, $pageSize, $order);
break; break;
default: default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment