diff --git a/internal/logic/domain/message/service/message_service.go b/internal/logic/domain/message/service/message_service.go index 85c6dfb..34a3e99 100644 --- a/internal/logic/domain/message/service/message_service.go +++ b/internal/logic/domain/message/service/message_service.go @@ -167,7 +167,7 @@ func (*messageService) SendToUser(ctx context.Context, sender *pb.Sender, toUser } isOpenAppPush := "0" - if masterId == "" { + if masterId != "" && masterId != "0" { isOpenAppPush = svc.SysCfgGet(masterId, "is_open_app_push") } utils.FilePutContents("SendToUser", utils.SerializeStr(map[string]interface{}{