role added column datascope

This commit is contained in:
zhangwenjian committed 2020-05-03 22:10:01 +08:00
1 parent 6b2a59f542
commit 5999a0a158
1 file changed
+1 -1
+1 -1
View File
@@ -16,7 +16,7 @@ type SysRole struct {
UpdateBy string `json:"updateBy" gorm:"type:varchar(128);"` //
Remark string `json:"remark" gorm:"type:varchar(255);"` //备注
Admin bool `json:"admin" gorm:"type:char(1);"`
DataScope string `json:"dataScope" gorm:"-"`
DataScope string `json:"dataScope" gorm:"type:varchar(128);"`
Params string `json:"params" gorm:"-"`
MenuIds []int `json:"menuIds" gorm:"-"`
DeptIds []int `json:"deptIds" gorm:"-"`