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

添加服务追踪

parent 02e0023c
package com.mortals.xhx.busiz.rsp;
import lombok.Data;
/**
* @author karlhoo
*/
@Data
public class ApiRespPdu<T> {
/**
* 结果编码
*/
private int code;
/**
* 结果描述
*/
private String msg;
/**
* 响应数据
*/
private T data;
}
...@@ -20,7 +20,7 @@ public class HikCallbackController { ...@@ -20,7 +20,7 @@ public class HikCallbackController {
@Autowired @Autowired
private IHikEventService hikEventService; private IHikEventService hikEventService;
@PostMapping("eventPlanRcv") @PostMapping("eventRcv")
@UnAuth @UnAuth
public Rest<String> receivePlanMessage(@RequestBody EventReq req) { public Rest<String> receivePlanMessage(@RequestBody EventReq req) {
log.info("【接收人脸计划事件数据】【请求体】--> {}", JSON.toJSONString(req)); log.info("【接收人脸计划事件数据】【请求体】--> {}", JSON.toJSONString(req));
......
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