فهرست منبع

test websocket

HeWang 7 ماه پیش
والد
کامیت
393b7da88c
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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"`
 }