Ver código fonte

1、添加操作日志 2、查询报警类型

lirong 3 anos atrás
pai
commit
c6ba0d832c
1 arquivos alterados com 11 adições e 0 exclusões
  1. 11 0
      ibms-data-sdk/src/main/resources/config.xml

+ 11 - 0
ibms-data-sdk/src/main/resources/config.xml

@@ -17,6 +17,7 @@
     <physical_world path="D-physical_world" refresh_enable="true" refresh_interval_second="3600"/>
     <zkt_physical_world path="D-zkt_physical_world" enable="true" refresh_enable="true" refresh_interval_second="3600"/>
     <ibms_physical_world path="D-ibms_physical_world" enable="true" refresh_enable="true" refresh_interval_second="60"/>
+	<!-- version值选择 old、new、network   -->
     <info_point path="D-info-point" enable="true" version="new" refresh_enable="true" refresh_interval_second="60"/>
 
 	<!-- zkt-dmp的服务地址 -->
@@ -41,6 +42,8 @@
 	<weather url="http://114.215.64.204:9090/EMS_Weather/" />
 	<!-- 标尺服务地址 -->
 	<scaleplate url="http://develop.persagy.com/calendar/dye/sdk/" enable="true" />
+	<!-- ibms_config配置服务,读取后台配置 -->
+	<ibms_config url="http://ibmsdev.persagy.com/ibms-config/" enable="true" />
 
     <!-- 场景/产品模块编码与后台tab页名称的对应关系 -->
     <SceneCode2TabName sceneCode="ggzm" tabName="公共照明"/>
@@ -257,6 +260,14 @@
 	<Redirect code="报警记录查询" http_request_type="post" url="http://ibmsdev.persagy.com/ibms-alarm/alarm-record/page">
 		<header key="Content-Type" value="application/json"/>
 	</Redirect>
+	<!--添加操作日志-->
+	<Redirect code="添加日志" http_request_type="post" url="http://192.168.100.33:9909/zkt-control/operationLog/saveOperationLog">
+		<header key="Content-Type" value="application/json"/>
+	</Redirect>
+	<!--查询指定项目的报警类型列表-->
+	<Redirect code="查询报警类型" http_request_type="post" url="http://ibmsdev.persagy.com/ibms-config/alarmCategoryProject/queryAlarmCategoryProjectList">
+		<header key="Content-Type" value="application/json"/>
+	</Redirect>
 	<Redirect code="test-get1" http_request_type="get" url="http://39.102.43.179:9993/alarm-record/list" />
 	<Redirect code="test-post1" http_request_type="post" url="http://192.168.4.69:8806/zkt-sdk/post" />
 	<Redirect code="test-get2" http_request_type="get" url="http://39.102.43.179:9993/alarm-record/list?projectId=Pj4403070003&amp;groupCode=WD" />