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:
commit
d56c0e9f94
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue