修改人:邹江涛

修改内容:API入参出参修改
修改时间:2024/11/15
This commit is contained in:
zoujiangtao 2024-11-15 15:50:16 +08:00
parent 8d75042642
commit e71bb9a76c
1 changed files with 3 additions and 1 deletions

View File

@ -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");