fix data scope

This commit is contained in:
zhangwenjian committed 2020-05-04 00:27:30 +08:00
1 parent 0906d49d09
commit fdc4c52d68
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:"-"`