|
@@ -128,6 +128,9 @@ func (c *BaseAuthController) JSON(data interface{}, hasIndent bool, coding bool)
|
|
|
}
|
|
|
ip := c.Ctx.Input.IP()
|
|
|
requestBody, err := url.QueryUnescape(string(c.Ctx.Input.RequestBody))
|
|
|
+ if err != nil {
|
|
|
+ utils.ApiLog.Info("err:%s", err.Error())
|
|
|
+ }
|
|
|
c.logUri(content, requestBody, ip)
|
|
|
if utils.RunMode != "debug" {
|
|
|
content = utils.DesBase64Encrypt(content, utils.DesKey)
|