mirror of
http://124.126.16.154:8888/singularity/hyperf-admin.git
synced 2026-01-15 06:55:06 +08:00
merge: branch 'master' of github.com:hyperf-admin/hyperf-admin
This commit is contained in:
@@ -90,9 +90,9 @@ class UserController extends AdminAbstractController
|
||||
'type' => 'date_range',
|
||||
],
|
||||
],
|
||||
'hasOne' => [
|
||||
'hyperf_admin.hyperf_admin.user_role:user_id,role_id',
|
||||
],
|
||||
'hasOne' => function ($field, $row) {
|
||||
return 'hyperf_admin.'.env('HYPERF_ADMIN_DB_NAME').'.user_role:user_id,role_id';
|
||||
},
|
||||
'table' => [
|
||||
'columns' => [
|
||||
'id',
|
||||
|
||||
Reference in New Issue
Block a user