更新功能

This commit is contained in:
molong committed 2023-02-23 22:34:00 +08:00
1 parent 6885382c52
commit 4995c5b6be
18 files changed
+444 -200

No files matched your search

+1 -2
View File
@@ -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 = [];