Commit 592d8567 authored by szh's avatar szh

up

parent 62a16c6c
...@@ -242,7 +242,10 @@ func GetTest(c *gin.Context){ ...@@ -242,7 +242,10 @@ func GetTest(c *gin.Context){
appG.Response(http.StatusOK, e.INVALID_PARAMS, err) appG.Response(http.StatusOK, e.INVALID_PARAMS, err)
return return
} }
logging.Info("test","report",string(raw)) if raw != nil {
logging.Info("test","report",string(raw))
}
appG.Response(http.StatusOK, e.SUCCESS, nil) appG.Response(http.StatusOK, e.SUCCESS, nil)
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment