Explorar o código

test websocket

HeWang hai 7 meses
pai
achega
393b7da88c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tools/pji_api/main/main.go

+ 1 - 1
tools/pji_api/main/main.go

@@ -32,7 +32,7 @@ type Response struct {
 type StatusMessage struct {
 	Type  string                 `json:"type"`
 	Topic string                 `json:"topic"`
-	Time  string                 `json:"time"`
+	Time  int64                  `json:"time"`
 	Data  map[string]interface{} `json:"data"`
 }