|
@@ -3,7 +3,6 @@ package controllers
|
|
|
import (
|
|
|
"encoding/json"
|
|
|
"eta/eta_mini_bridge/models"
|
|
|
- "eta/eta_mini_bridge/services/alarm_msg"
|
|
|
"eta/eta_mini_bridge/utils"
|
|
|
"fmt"
|
|
|
"net/http"
|
|
@@ -136,7 +135,6 @@ func (c *BaseAuthController) JSON(data interface{}, hasIndent bool, coding bool)
|
|
|
if coding {
|
|
|
content = []byte(utils.StringsToJSON(string(content)))
|
|
|
}
|
|
|
- alarm_msg.SendAlarmMsg(string(content), 1)
|
|
|
return c.Ctx.Output.Body(content)
|
|
|
}
|
|
|
|