Browse Source

update

master
DengBiao 1 year ago
parent
commit
2c4dcaf3f5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      internal/logic/domain/message/service/message_service.go

+ 1
- 1
internal/logic/domain/message/service/message_service.go View File

@@ -167,7 +167,7 @@ func (*messageService) SendToUser(ctx context.Context, sender *pb.Sender, toUser
} }


isOpenAppPush := "0" isOpenAppPush := "0"
if masterId == "" {
if masterId != "" && masterId != "0" {
isOpenAppPush = svc.SysCfgGet(masterId, "is_open_app_push") isOpenAppPush = svc.SysCfgGet(masterId, "is_open_app_push")
} }
utils.FilePutContents("SendToUser", utils.SerializeStr(map[string]interface{}{ utils.FilePutContents("SendToUser", utils.SerializeStr(map[string]interface{}{


Loading…
Cancel
Save