fix: is_enterprise true

master
howell 3 years ago
parent 5599f0bb58
commit 16265a05e9

@ -246,6 +246,7 @@ func (o logic) Sure(args CompanySureApply) error {
ParentID: 0,
RootID: 0,
InvitationNo: baseCode.Encode(uint64(lastId)),
IsEnterprise: true,
}
if err := tx.Create(&info).Error; err != nil {

@ -39,6 +39,7 @@ type RecookUserInfoModel struct {
Identifier string
RootID uint
IsOffline bool `json:"is_offline"`
IsEnterprise bool `json:"is_enterprise"`
}
// TableName sets the insert table name for this struct type

Loading…
Cancel
Save