Commit 11caa975 by tyfanchz

Modify Feign decoder for more compatibility

1 parent 56e90cc7
......@@ -135,8 +135,7 @@ public class FeignDecoderForR extends FeignDecoder<R> {
private static String extractDataJson(R resp) {
Object data = resp.getData();
String dataJson = (data instanceof String)
? (String) data : JSON.toJSONString(data);
String dataJson = JSON.toJSONString(data);
return dataJson;
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!