sku sync字段

This commit is contained in:
richboo111
2023-05-10 16:00:00 +08:00
parent ca9ac1dd73
commit 4b82890145
2 changed files with 10 additions and 9 deletions

View File

@@ -155,8 +155,8 @@ func (c *Client) Read() {
go func() {
for {
messageType, msg, err := c.Socket.ReadMessage()
//temp := string(msg)
//fmt.Print(temp)
temp := string(msg)
fmt.Print(temp)
if err != nil {
if messageType == -1 && websocket.IsCloseError(err, websocket.CloseGoingAway, websocket.CloseNormalClosure, websocket.CloseNoStatusReceived) {
Manager.DisConnect <- c