增加角色复制后台功能 修复swagger不能带token的问题
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
||||
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user