基于 Laravel 6,RBAC 的权限控制接口
权限 接口文档权限 模型{
"id": 1,
"name": "全部权限",
"slug": "*",
"http_method": [],
"http_path": "*",
"created_at": null,
"updated_at": null
}
| 名称 | 类型 | 说明 |
|---|---|---|
| id | Number | ID |
| name | String | 名称 |
| slug | String | 标识 |
| http_method | String | HTTP 方法,为空默认为所有方法 |
| http_path | String | HTTP 路径 |
| created_at | Datetime | Null | 创建时间 |
| updated_at | Datetime | Null | 更新时间 |