浏览代码

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"`
 }