From 2c4dcaf3f5fcaf6f958692fbb369315c40116ab4 Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Thu, 8 Jun 2023 21:24:19 +0800 Subject: [PATCH] update --- internal/logic/domain/message/service/message_service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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{}{