接口添加permission

This commit is contained in:
zegezy 2022-05-09 21:49:00 +08:00
parent 3443b4be80
commit b7721117c9
8 changed files with 117 additions and 21 deletions

View File

@ -4,15 +4,27 @@
"script" : null, "script" : null,
"groupId" : "4f0230049d7e4f39b1e0897cc0f46f9a", "groupId" : "4f0230049d7e4f39b1e0897cc0f46f9a",
"name" : "修改登录状态", "name" : "修改登录状态",
"createTime" : 1646490239469, "createTime" : null,
"updateTime" : 1634729738648, "updateTime" : 1651932570354,
"lock" : "0", "lock" : "0",
"createBy" : null, "createBy" : null,
"updateBy" : null, "updateBy" : null,
"path" : "/change/login/status", "path" : "/change/login/status",
"method" : "GET", "method" : "GET",
"parameters" : [ ], "parameters" : [ ],
"options" : [ ], "options" : [ {
"name" : "permission",
"value" : "user:change:login:status",
"description" : "允许拥有该权限的访问",
"required" : false,
"dataType" : "String",
"type" : null,
"defaultValue" : null,
"validateType" : null,
"error" : null,
"expression" : null,
"children" : null
} ],
"requestBody" : "", "requestBody" : "",
"headers" : [ ], "headers" : [ ],
"paths" : [ ], "paths" : [ ],

File diff suppressed because one or more lines are too long

View File

@ -5,7 +5,7 @@
"groupId" : "4f0230049d7e4f39b1e0897cc0f46f9a", "groupId" : "4f0230049d7e4f39b1e0897cc0f46f9a",
"name" : "导入数据预览", "name" : "导入数据预览",
"createTime" : null, "createTime" : null,
"updateTime" : 1648866355002, "updateTime" : 1651932636716,
"lock" : null, "lock" : null,
"createBy" : null, "createBy" : null,
"updateBy" : null, "updateBy" : null,
@ -24,7 +24,19 @@
"expression" : null, "expression" : null,
"children" : null "children" : null
} ], } ],
"options" : [ ], "options" : [ {
"name" : "permission",
"value" : "user:import:preview",
"description" : "允许拥有该权限的访问",
"required" : false,
"dataType" : "String",
"type" : null,
"defaultValue" : null,
"validateType" : null,
"error" : null,
"expression" : null,
"children" : null
} ],
"requestBody" : "", "requestBody" : "",
"headers" : [ ], "headers" : [ ],
"paths" : [ ], "paths" : [ ],

View File

@ -4,15 +4,27 @@
"script" : null, "script" : null,
"groupId" : "8295fc13678d4144bf7363c465247a50", "groupId" : "8295fc13678d4144bf7363c465247a50",
"name" : "上移", "name" : "上移",
"createTime" : 1646490239489, "createTime" : null,
"updateTime" : 1641732205207, "updateTime" : 1651932358086,
"lock" : "0", "lock" : "0",
"createBy" : null, "createBy" : null,
"updateBy" : null, "updateBy" : null,
"path" : "/sort/up", "path" : "/sort/up",
"method" : "GET", "method" : "GET",
"parameters" : [ ], "parameters" : [ ],
"options" : [ ], "options" : [ {
"name" : "permission",
"value" : "office:sort:up",
"description" : "允许拥有该权限的访问",
"required" : false,
"dataType" : "String",
"type" : null,
"defaultValue" : null,
"validateType" : null,
"error" : null,
"expression" : null,
"children" : null
} ],
"requestBody" : "", "requestBody" : "",
"headers" : [ ], "headers" : [ ],
"paths" : [ ], "paths" : [ ],

View File

@ -4,15 +4,27 @@
"script" : null, "script" : null,
"groupId" : "8295fc13678d4144bf7363c465247a50", "groupId" : "8295fc13678d4144bf7363c465247a50",
"name" : "下移", "name" : "下移",
"createTime" : 1646490239491, "createTime" : null,
"updateTime" : 1641737498723, "updateTime" : 1651932356319,
"lock" : "0", "lock" : "0",
"createBy" : null, "createBy" : null,
"updateBy" : null, "updateBy" : null,
"path" : "/sort/down", "path" : "/sort/down",
"method" : "GET", "method" : "GET",
"parameters" : [ ], "parameters" : [ ],
"options" : [ ], "options" : [ {
"name" : "permission",
"value" : "office:sort:down",
"description" : "允许拥有该权限的访问",
"required" : false,
"dataType" : "String",
"type" : null,
"defaultValue" : null,
"validateType" : null,
"error" : null,
"expression" : null,
"children" : null
} ],
"requestBody" : "", "requestBody" : "",
"headers" : [ ], "headers" : [ ],
"paths" : [ ], "paths" : [ ],

View File

@ -4,15 +4,27 @@
"script" : null, "script" : null,
"groupId" : "67b2ce258e24491194b74992958c74aa", "groupId" : "67b2ce258e24491194b74992958c74aa",
"name" : "上移", "name" : "上移",
"createTime" : 1646490239503, "createTime" : null,
"updateTime" : 1641564601649, "updateTime" : 1651927489059,
"lock" : "0", "lock" : "0",
"createBy" : null, "createBy" : null,
"updateBy" : null, "updateBy" : null,
"path" : "/sort/up", "path" : "/sort/up",
"method" : "GET", "method" : "GET",
"parameters" : [ ], "parameters" : [ ],
"options" : [ ], "options" : [ {
"name" : "permission",
"value" : "menu:sort:up",
"description" : "允许拥有该权限的访问",
"required" : false,
"dataType" : "String",
"type" : null,
"defaultValue" : null,
"validateType" : null,
"error" : null,
"expression" : null,
"children" : null
} ],
"requestBody" : "", "requestBody" : "",
"headers" : [ ], "headers" : [ ],
"paths" : [ ], "paths" : [ ],

View File

@ -4,15 +4,27 @@
"script" : null, "script" : null,
"groupId" : "67b2ce258e24491194b74992958c74aa", "groupId" : "67b2ce258e24491194b74992958c74aa",
"name" : "下移", "name" : "下移",
"createTime" : 1646490239505, "createTime" : null,
"updateTime" : 1641564596885, "updateTime" : 1651930976250,
"lock" : "0", "lock" : "0",
"createBy" : null, "createBy" : null,
"updateBy" : null, "updateBy" : null,
"path" : "/sort/down", "path" : "/sort/down",
"method" : "GET", "method" : "GET",
"parameters" : [ ], "parameters" : [ ],
"options" : [ ], "options" : [ {
"name" : "permission",
"value" : "menu:sort:down",
"description" : "允许拥有该权限的访问",
"required" : false,
"dataType" : "String",
"type" : null,
"defaultValue" : null,
"validateType" : null,
"error" : null,
"expression" : null,
"children" : null
} ],
"requestBody" : "", "requestBody" : "",
"headers" : [ ], "headers" : [ ],
"paths" : [ ], "paths" : [ ],

View File

@ -4,8 +4,8 @@
"script" : null, "script" : null,
"groupId" : "67b2ce258e24491194b74992958c74aa", "groupId" : "67b2ce258e24491194b74992958c74aa",
"name" : "修改是否显示", "name" : "修改是否显示",
"createTime" : 1646490239508, "createTime" : null,
"updateTime" : 1641482987357, "updateTime" : 1651931012437,
"lock" : "0", "lock" : "0",
"createBy" : null, "createBy" : null,
"updateBy" : null, "updateBy" : null,
@ -24,6 +24,18 @@
"error" : null, "error" : null,
"expression" : null, "expression" : null,
"children" : null "children" : null
}, {
"name" : "permission",
"value" : "menu:change",
"description" : "允许拥有该权限的访问",
"required" : false,
"dataType" : "String",
"type" : null,
"defaultValue" : null,
"validateType" : null,
"error" : null,
"expression" : null,
"children" : null
} ], } ],
"requestBody" : "", "requestBody" : "",
"headers" : [ ], "headers" : [ ],