|
@@ -5,6 +5,7 @@ import com.alibaba.fastjson.JSONArray;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.ruoyi.common.core.domain.R;
|
|
|
import com.ruoyi.common.core.utils.StringUtils;
|
|
|
+import com.ruoyi.common.core.web.domain.AjaxResult;
|
|
|
import com.sooka.sponest.event.centereventteventcatalogue.domain.dahua.DaHuaFireEventVO;
|
|
|
import com.sooka.sponest.event.centereventteventcatalogue.domain.dahua.DaHuaOtherEventVO;
|
|
|
import com.sooka.sponest.event.centereventteventcatalogue.domain.haikang.HaiKangEventVo;
|
|
@@ -173,4 +174,10 @@ public class AlarmEventController {
|
|
|
}
|
|
|
return R.ok(i);// 3951
|
|
|
}
|
|
|
+
|
|
|
+ @PostMapping("/eventConsumer")
|
|
|
+ public AjaxResult eventConsumer(@RequestBody String jsonStr) {
|
|
|
+ logger.info("eventConsumer接收到的消息:-->" + jsonStr);
|
|
|
+ return AjaxResult.success();
|
|
|
+ }
|
|
|
}
|