|
@@ -35,7 +35,7 @@ func result(code int, resultData ResultData, c *gin.Context) {
|
|
logSlice = append(logSlice, fmt.Sprint("Url:", c.Request.RequestURI))
|
|
logSlice = append(logSlice, fmt.Sprint("Url:", c.Request.RequestURI))
|
|
logSlice = append(logSlice, fmt.Sprint("Token:", token))
|
|
logSlice = append(logSlice, fmt.Sprint("Token:", token))
|
|
logSlice = append(logSlice, fmt.Sprint("resultData:", string(jsonByte)))
|
|
logSlice = append(logSlice, fmt.Sprint("resultData:", string(jsonByte)))
|
|
- global.LOG.Info(strings.Join(logSlice, "\n"))
|
|
|
|
|
|
+ global.LOG.Info(strings.Join(logSlice, ";"))
|
|
|
|
|
|
//测试环境,数据不进行加密
|
|
//测试环境,数据不进行加密
|
|
/*if global.CONFIG.Serve.RunMode == "debug" {
|
|
/*if global.CONFIG.Serve.RunMode == "debug" {
|