This commit is contained in:
parent
ed6b2e356b
commit
dc3432ee72
|
@ -77,7 +77,7 @@ func (s *Service) ApiLoginByPswd(ctx *gin.Context, req *loginproto.ApiLoginByPsw
|
|||
}
|
||||
|
||||
// 20240326整改临时调整
|
||||
if util.DerefInt64(account.Status) != consts.Admin && util.DerefInt64(account.Status) != consts.Supportor {
|
||||
if util.DerefInt64(account.Role) != consts.Admin && util.DerefInt64(account.Role) != consts.Supportor {
|
||||
ec = errcode.ErrCodeSuspend
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue