Merge pull request 'by' (#206) from feat-IRONFANS-ALTER-Robin into main

Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/206
This commit is contained in:
chenhao 2024-03-26 13:17:25 +08:00
commit d56c0e9f94
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整改临时调整 // 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 ec = errcode.ErrCodeSuspend
return return
} }