add
wangpengfei
2023-07-17 30f137e85a76420d872a96c30b2177f59e9706d2
model/user.go
@@ -34,6 +34,8 @@
      Ip          string            `json:"ip" gorm:"type:varchar(255);comment:集群Ip"`
      Port        string            `json:"port" gorm:"type:varchar(255);comment:端口号"`
      Status      int               `json:"status" gorm:"type:int(11);comment:用户审核状态 0:禁用; 1:正常; 2:审核中"`
      AuthorityId uint              `json:"authorityId" gorm:"default:888;comment:用户角色ID"` // 用户角色ID
      Authority   Authority         `json:"authority" gorm:"foreignKey:AuthorityId"`
   }
   UserSearch struct {