Browse Source

fix write when heartbeat #14

ljw 1 year ago
parent
commit
488fedf784
1 changed files with 1 additions and 1 deletions
  1. 1 1
      http/controller/api/peer.go

+ 1 - 1
http/controller/api/peer.go

@@ -54,5 +54,5 @@ func (p *Peer) SysInfo(c *gin.Context) {
54 54
 	//SYSINFO_UPDATED 上传成功
55 55
 	//ID_NOT_FOUND 下次心跳会上传
56 56
 	//直接响应文本
57
-	c.String(http.StatusOK, "")
57
+	c.String(http.StatusOK, "SYSINFO_UPDATED")
58 58
 }