取消debug
This commit is contained in:
parent
b77bd47134
commit
99cf4cb55e
10
router.go
10
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 {
|
||||
|
|
Loading…
Reference in New Issue