From 62a6195a4f3365a110b7f5da04aeec7499b88eab Mon Sep 17 00:00:00 2001 From: Gordon <1432970085@qq.com> Date: Wed, 3 Nov 2021 16:10:24 +0800 Subject: [PATCH] push log add --- src/push/logic/init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/push/logic/init.go b/src/push/logic/init.go index 5828f3227..eb2515caf 100644 --- a/src/push/logic/init.go +++ b/src/push/logic/init.go @@ -24,7 +24,7 @@ func Init(rpcPort int) { log.NewPrivateLog(config.Config.ModuleName.PushName) rpcServer.Init(rpcPort) pushCh.Init() - pushTerminal = []int32{utils.AndroidPlatformID} + pushTerminal = []int32{utils.IOSPlatformID, utils.AndroidPlatformID} } func init() { producer = kafka.NewKafkaProducer(config.Config.Kafka.Ws2mschat.Addr, config.Config.Kafka.Ws2mschat.Topic)