更新功能
This commit is contained in:
@@ -10,7 +10,6 @@ namespace App\Services\Auth;
|
||||
|
||||
use App\Models\Auth\Users;
|
||||
use App\Models\Auth\RolesAccess;
|
||||
use think\facade\Config;
|
||||
|
||||
class UsersService{
|
||||
|
||||
@@ -36,7 +35,7 @@ class UsersService{
|
||||
$q->name('user_has_roles')->where($subMap)->field('uid');
|
||||
}];
|
||||
}
|
||||
$list = Users::with(['roles', 'department'])->where($map)->orderBy('uid')->paginate()->each(function($item){
|
||||
$list = Users::with(['roles', 'department'])->where($map)->orderBy('uid')->paginate(isset($param['pageSize']) ? $param['pageSize'] : 30)->each(function($item){
|
||||
$roleId = [];
|
||||
$roleName = [];
|
||||
$identify = [];
|
||||
|
||||
Reference in New Issue
Block a user