From 99cf4cb55ee72367b35be004875e0fe9a20fa14d Mon Sep 17 00:00:00 2001 From: fish Date: Fri, 20 Dec 2019 09:59:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88debug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- router.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/router.go b/router.go index bb90dc0..27cd9f4 100644 --- a/router.go +++ b/router.go @@ -647,11 +647,11 @@ func get_renliu_api(c *gin.Context) { var rl_data EventNotificationAlert - var debugInt = 2 - if debugInt > 1 { - c.JSON(http.StatusOK, gin.H{"status": http.StatusOK, "data": rl_data}) - return - } + // var debugInt = 2 + // if debugInt > 1 { + // c.JSON(http.StatusOK, gin.H{"status": http.StatusOK, "data": rl_data}) + // return + // } err := c.Bind(&rl_data) if conf.DEBUG {