Merge pull request 'by Robin at 20241203' (#861) from feat-IRONFANS-212-Robin into test

Reviewed-on: https://git.wishpal.cn/wishpal_ironfan/service/pulls/861
This commit is contained in:
chenhao 2024-12-03 15:51:59 +08:00
commit e4ba8891af
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ func NewNotifBcstCenter() *NotifBcstCenter {
// 对外接口
func (s *NotifBcstCenter) BcstNotifs(ctx *gin.Context, nids []int64, objType int64, objMids []int64) error {
if len(nids) == 0 || len(objMids) == 0 {
if len(nids) == 0 && len(objMids) == 0 {
return nil
}