mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-25 14:38:34 +08:00
【feature】添加组织数据读取权限
This commit is contained in:
@@ -49,6 +49,8 @@ type Product struct {
|
||||
SelfLearn bool `json:"selfLearn" gorm:"default:0;comment:自学习开关"`
|
||||
RuleChainId string `json:"ruleChainId" gorm:"type:varchar(64);comment:规则链Id"` //可空,如果空就走根规则链
|
||||
Status string `gorm:"status;type:varchar(1);comment:状态" json:"status"`
|
||||
|
||||
RoleId int64 `gorm:"-"` // 角色数据权限
|
||||
}
|
||||
|
||||
type ProductRes struct {
|
||||
|
||||
Reference in New Issue
Block a user