From 488fedf784cc0a404b734610ab6206343e860432 Mon Sep 17 00:00:00 2001 From: ljw <84855512@qq.com> Date: Thu, 17 Oct 2024 10:24:02 +0800 Subject: [PATCH] fix write when heartbeat #14 --- http/controller/api/peer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http/controller/api/peer.go b/http/controller/api/peer.go index e8fde6b..5b50946 100644 --- a/http/controller/api/peer.go +++ b/http/controller/api/peer.go @@ -54,5 +54,5 @@ func (p *Peer) SysInfo(c *gin.Context) { //SYSINFO_UPDATED 上传成功 //ID_NOT_FOUND 下次心跳会上传 //直接响应文本 - c.String(http.StatusOK, "") + c.String(http.StatusOK, "SYSINFO_UPDATED") }