![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
laravel框架权限管理
?sar
这个作者很懒,什么都没留下…
展开
-
laravel框架RBAC增删改查
编写表字段node表Schema::create('nodes', function (Blueprint $table) { $table->bigIncrements('id'); $table->string('name',50)->comment('节点名称'); $table->string('route_name',100)->nullable()->default('')->comment('路由别名,权原创 2020-11-03 21:19:10 · 263 阅读 · 4 评论 -
laravel框架权限管理增删改查
创建角色表先创建迁移php artisan make:migration create_roles_table编写迁移文件Schema::create('roles', function (Blueprint $table) { $table->bigIncrements('id'); $table->string('name','20')->comment('角色名称'); $table->timestamps();原创 2020-10-25 21:19:22 · 541 阅读 · 0 评论