Commit 5f7f1352 by 姚冰

[chg] 文档日期格式化

1 parent 7ebc9871
package com.viontech.match.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
......@@ -14,6 +16,8 @@ public class PersonInfo {
private Integer age;
private String gender;
private Integer bodyType;
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date countTime;
private String fid;
private String channelSerialNum;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!