This commit is contained in:
glovetleong
2021-08-05 14:01:33 +08:00
parent 9f5224bc73
commit e3b6c69718
17 changed files with 215 additions and 26 deletions
+6 -2
View File
@@ -21,11 +21,15 @@ class Admin extends Authenticatable
protected $table = 'admins';
protected $fillable = [
'name', 'email', 'password',
'id',
'name',
'email',
'password'
];
protected $hidden = [
'password', 'pivot'
'password',
'pivot'
];
protected $appends = ['hash_id', 'role_list', 'permission_list'];