fastadmin 单独设置导入权限

在角色组中,没有单独的导入权限,
操作数据库fa_auth_rule
选择相同层级的菜单,复制修改name字段
改为 类/import
修改title =>导入

INSERT INTO `table`.`fa_auth_rule` 
(`id`, `type`, `pid`, `name`, `title`, `icon`, `condition`, `remark`, `ismenu`, `createtime`, `updatetime`, `weigh`, `status`) 
VALUES 
(NULL, 'file', '131', 'data/import', '导入', 'fa fa-circle-o', '', '', '0', '1588062825', '1588062825', '0', 'normal')

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/lows_H/article/details/107467017
今日推荐