修复菜单列表、角色列表接口报错问题

This commit is contained in:
linwenxiang committed 2021-02-19 10:01:45 +08:00
1 parent 981e992f28
commit a24c31c6b9
3 files changed
+84 -38

No files matched your search

+3 -3
View File
@@ -12,11 +12,11 @@ type SysRole struct {
Remark string `json:"remark" gorm:"size:255;"` //备注
Admin bool `json:"admin" gorm:"size:4;"`
DataScope string `json:"dataScope" gorm:"size:128;"`
Params string `json:"params" gorm:"-"`
MenuIds []int `json:"menuIds" gorm:"-"`
DeptIds []int `json:"deptIds" gorm:"-"`
models.ControlBy
models.ModelTime
Params string `json:"params" gorm:"-"`
MenuIds []int `json:"menuIds" gorm:"-"`
DeptIds []int `json:"deptIds" gorm:"-"`
}
func (SysRole) TableName() string {