Commit 2d70bfea by 向延琳

时间格式化

1 parent 08e75f25
...@@ -35,6 +35,7 @@ public class DevicePowerDTO implements Serializable { ...@@ -35,6 +35,7 @@ public class DevicePowerDTO implements Serializable {
/** /**
* 电量上传时间 * 电量上传时间
*/ */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date alarmTime; private Date alarmTime;
/** /**
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!