feat: 添加角色分页/详情/新增/更新/删除接口

This commit is contained in:
2025-02-25 18:14:52 +08:00
parent 2bdfb24505
commit 43b4332d57
9 changed files with 321 additions and 4 deletions

View File

@@ -0,0 +1,23 @@
<?php
declare (strict_types = 1);
namespace app\common\model;
use think\Model;
/**
* 角色权限模型
* @mixin \think\Model
*/
class SysRoleAuthorityBaseModel extends Model
{
// 数据表名
protected $name = 'sys_role_authority';
// 字段信息
protected $schema = [
'role_id' => 'int',
'menu_id' => 'int',
'permission' => 'int',
];
}