Commit fa83a07b authored by 赵啸非's avatar 赵啸非

添加服务追踪

parent ab1e98d2
......@@ -25,10 +25,10 @@ public class EventsItem {
private String srcType;
//脉冲超时时间
private Integer timeout;
@JSONField(format = "yyyy-MM-dd'T'HH:mm:ssXXX")
/**
* 事件发生时间(设备时间)
*/
@JSONField(format = "yyyy-MM-dd'T'HH:mm:ssXXX")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSXXX")
private Date happenTime;
/**
......
package com.mortals.xhx.module.hik.event.model.req.callback.recognition;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.util.Date;
......@@ -15,6 +16,7 @@ public class Snap{
* 抓拍图片的时间
*/
@JSONField(format = "yyyy-MM-dd'T'HH:mm:ssXXX")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSXXX")
private Date faceTime;
/**
* 是否戴眼镜
......
package com.mortals.xhx.module.hik.event.model.req.callback.snap;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.util.Date;
@Data
public class TargetAttrs{
private String faceTime;
@JSONField(format = "yyyy-MM-dd'T'HH:mm:ssXXX")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSXXX")
private Date faceTime;
private Rect rect;
private String deviceIndexCode;
private String picServerIndexCode;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment