wangshan hai 3 meses
pai
achega
35ee444557
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      services/sse/sse.go

+ 2 - 0
services/sse/sse.go

@@ -56,6 +56,8 @@ func (s *ServerSentRouter) Notify() {
 				return // 客户端断开连接
 			}
 		}
+	} else {
+		s.ServeJson("not login")
 	}
 }