您使用的許可權模型必須實現* `Spatie\Permission\Contracts\Role` 契約。 ... 將Spatie\Permission\Traits\HasRoles 特徵新增到您的User 模型中:
確定! 回上一頁