增加角色复制后台功能 修复swagger不能带token的问题

This commit is contained in:
pixel
2020-04-20 16:21:50 +08:00
parent eea245e405
commit 0be0ec9a2f
11 changed files with 456 additions and 11 deletions
+5
View File
@@ -5,3 +5,8 @@ import "gin-vue-admin/model"
type SysAuthorityResponse struct {
Authority model.SysAuthority `json:"authority"`
}
type SysAuthorityCopyResponse struct {
Authority model.SysAuthority `json:"authority"`
OldAuthorityId string `json:"oldAuthorityId"`
}
+3 -1
View File
@@ -1,5 +1,7 @@
package response
import "gin-vue-admin/model/request"
type PolicyPathResponse struct {
Paths []map[string]string `json:"paths"`
Paths []request.CasbinInfo `json:"paths"`
}