李伟乐 2 years ago
parent d10fcb2d5a
commit e9532833ac
  1. 1
      transport/http/codec.go

@ -95,5 +95,6 @@ func CodeForRequest(r *http.Request, name string) (encoding.Codec, bool) {
return codec, true return codec, true
} }
} }
fmt.Println("is default", name)
return encoding.GetCodec("json"), false return encoding.GetCodec("json"), false
} }

Loading…
Cancel
Save