Commit 36d0c520 authored by 赵啸非's avatar 赵啸非

修改资源访问地址

parent fd41805c
package com.mortals.xhx.busiz.web; package com.mortals.xhx.busiz.web;
import com.alibaba.fastjson.JSON;
import com.mortals.framework.annotation.UnAuth; import com.mortals.framework.annotation.UnAuth;
import com.mortals.framework.common.Rest; import com.mortals.framework.common.Rest;
import com.mortals.xhx.module.hik.event.model.req.callback.EventReq; import com.mortals.xhx.module.hik.event.model.req.callback.EventReq;
...@@ -22,7 +23,7 @@ public class HikCallbackController { ...@@ -22,7 +23,7 @@ public class HikCallbackController {
@PostMapping("eventRcv") @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));
// EventReq eventReq = JSON.parseObject(req, EventReq.class); // EventReq eventReq = JSON.parseObject(req, EventReq.class);
try { try {
Rest<String> rest = hikEventService.handleEvent(req); Rest<String> rest = hikEventService.handleEvent(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