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
+7 -1
View File
@@ -15,7 +15,13 @@ class Permission extends Model
'pivot'
];
protected $appends = ['hash_id'];
protected $appends = [
'hash_id'
];
protected $hidden = [
'id',
];
public function getHashIdAttribute()
{