|
@@ -28,7 +28,7 @@ type ResultData struct {
|
|
|
func result(code int, resultData ResultData, c *gin.Context) {
|
|
|
jsonByte, _ := json.Marshal(resultData)
|
|
|
logSlice := utils.GetContextLogListByClaims(c)
|
|
|
- logSlice = append(logSlice, fmt.Sprint("resultData:", string(jsonByte)))
|
|
|
+ logSlice = append(logSlice, fmt.Sprint("ResultData:", string(jsonByte)))
|
|
|
|
|
|
//记录错误日志
|
|
|
if resultData.ErrMsg != "" {
|