This commit is contained in:
Leufolium 2024-03-26 13:17:10 +08:00
parent ed6b2e356b
commit dc3432ee72
1 changed files with 1 additions and 1 deletions

View File

@ -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
}