取消debug

This commit is contained in:
fish 2019-12-20 09:59:00 +08:00
parent b77bd47134
commit 99cf4cb55e
1 changed files with 5 additions and 5 deletions

View File

@ -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 {