From 05460a1b7e9efe6e8b28997d29bb3dfa7b08f809 Mon Sep 17 00:00:00 2001 From: Gordon <1432970085@qq.com> Date: Tue, 6 Jun 2023 21:05:32 +0800 Subject: [PATCH] fix: platform client conn delete --- internal/msggateway/client.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/msggateway/client.go b/internal/msggateway/client.go index 3a38202ba..859471994 100644 --- a/internal/msggateway/client.go +++ b/internal/msggateway/client.go @@ -45,10 +45,10 @@ type PongHandler func(string) error type Client struct { w *sync.Mutex conn LongConn - platformID int - isCompress bool - userID string - isBackground bool + platformID int `json:"platformID"` + isCompress bool `json:"isCompress"` + userID string `json:"userID"` + isBackground bool `json:"isBackground"` ctx *UserConnContext longConnServer LongConnServer closed bool