数据库中获取Date数据,返回到页面的时,设置时间格式

it2025-08-16  12

com.alibaba fastjson 1.2.47

@JSONField(format = “MM-dd”) private Date date; // 工作动态发布日期

最新回复(0)