parent
8d75042642
commit
e71bb9a76c
|
@ -142,7 +142,9 @@ public class PayBillApiSavePlugin implements ApiSavePlugin, ApiSerializerPlugin
|
|||
} else {
|
||||
logger.info("进入else");
|
||||
//其他类型的出参序列化
|
||||
return null;
|
||||
String responseStr = new ObjectMapper().writeValueAsString(response);
|
||||
JSONObject jsonObject = JSON.parseObject(responseStr);
|
||||
return new SerializerResult(MediaType.TEXT_PLAIN, jsonObject.toJSONString());
|
||||
}
|
||||
} catch (JsonProcessingException e) {
|
||||
logger.info("catch");
|
||||
|
|
Loading…
Reference in New Issue