feat:完善信息
This commit is contained in:
@ -432,9 +432,7 @@ func (c *Instance) MemberBind(id uint64, status int) error {
|
||||
} else if !isExist {
|
||||
return errors.New("用户信息不存在")
|
||||
}
|
||||
if model2.AccountStatusKind(status) == mSysUserTenant.Status {
|
||||
return errors.New("状态异常,不可操作")
|
||||
}
|
||||
|
||||
if err := model2.Updates(mSysUserTenant.SysUserTenant, map[string]interface{}{
|
||||
"status": status, "updated_at": time.Now(),
|
||||
}); err != nil {
|
||||
|
Reference in New Issue
Block a user