feat: 增加分类权限控制
- 新增角色分类授权模型与超级管理员配置接口 - 接入助手、插件、工作流、知识库、素材的分类可见性过滤 - 增加角色页分类权限树与插件多分类可见性支持
This commit is contained in:
@@ -41,7 +41,7 @@ onMounted(async () => {
|
||||
getUserUsed();
|
||||
});
|
||||
function getCategoryList() {
|
||||
api.get('/userCenter/botCategory/list').then((res) => {
|
||||
api.get('/userCenter/botCategory/visibleList').then((res) => {
|
||||
categories.value = [
|
||||
{
|
||||
id: '',
|
||||
|
||||
@@ -26,7 +26,7 @@ onMounted(async () => {
|
||||
getCategoryList();
|
||||
});
|
||||
function getCategoryList() {
|
||||
api.get('/userCenter/workflowCategory/list').then((res) => {
|
||||
api.get('/userCenter/workflowCategory/visibleList').then((res) => {
|
||||
categories.value = [
|
||||
{
|
||||
id: '',
|
||||
|
||||
Reference in New Issue
Block a user