摘要:
场景及需求: 项目接入了SpringBoot开发,现在需求是服务端接口返回的字段如果为空,那么自动转为空字符串。 例如: [ { "id": 1, "name": null }, { "id": 2, "name": "xiaohong" } ] 如上,格式化后的返回内容应该为: [ { "id": 阅读全文
posted @ 2018-06-10 18:00
一枝花算不算浪漫
阅读(9473)
评论(0)
推荐(0)
浙公网安备 33010602011771号