|
|
@@ -71,25 +71,25 @@ public class HisController extends JeecgController<Audit, IAuditService> {
|
|
|
}
|
|
|
log.info("事前远端请求的服务ip地址:{}", ipStr);
|
|
|
ruleEngine.dealPreInterfaceEngin(advanceWarningVO, ipStr);
|
|
|
- return Result.OK("添加成功!");
|
|
|
+ return Result.OK("事前提醒调用完成!");
|
|
|
}
|
|
|
|
|
|
|
|
|
/**
|
|
|
- * 事中提醒
|
|
|
+ * 事中预警
|
|
|
*
|
|
|
* @param midIncidentWarningVO
|
|
|
* @return
|
|
|
*/
|
|
|
- @AutoLog(value = "事中提醒")
|
|
|
- @ApiOperation(value="事中提醒接口", notes="事中提醒接口调用")
|
|
|
+ @AutoLog(value = "事中预警")
|
|
|
+ @ApiOperation(value="事中预警接口", notes="事中预警接口调用")
|
|
|
@PostMapping(value = "/midIncidentWarning")
|
|
|
public Result<String> midIncidentWarning(@RequestBody @Valid MidIncidentWarningVO midIncidentWarningVO,HttpServletRequest httpServletRequest) {
|
|
|
|
|
|
String ipStr = HttpUtils.getIPAddress(httpServletRequest);
|
|
|
log.info("事中远端请求的服务ip地址:{}", ipStr);
|
|
|
ruleEngine.dealMidInterfaceEngin("midIncidentWarning", midIncidentWarningVO, ipStr);
|
|
|
- return Result.OK("添加成功!");
|
|
|
+ return Result.OK("事中预警调用完成!");
|
|
|
}
|
|
|
|
|
|
}
|