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:
commit
e4ba8891af
|
@ -27,7 +27,7 @@ func NewNotifBcstCenter() *NotifBcstCenter {
|
||||||
// 对外接口
|
// 对外接口
|
||||||
func (s *NotifBcstCenter) BcstNotifs(ctx *gin.Context, nids []int64, objType int64, objMids []int64) error {
|
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
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue