取消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 rl_data EventNotificationAlert
|
||||||
|
|
||||||
var debugInt = 2
|
// var debugInt = 2
|
||||||
if debugInt > 1 {
|
// if debugInt > 1 {
|
||||||
c.JSON(http.StatusOK, gin.H{"status": http.StatusOK, "data": rl_data})
|
// c.JSON(http.StatusOK, gin.H{"status": http.StatusOK, "data": rl_data})
|
||||||
return
|
// return
|
||||||
}
|
// }
|
||||||
|
|
||||||
err := c.Bind(&rl_data)
|
err := c.Bind(&rl_data)
|
||||||
if conf.DEBUG {
|
if conf.DEBUG {
|
||||||
|
|
Loading…
Reference in New Issue