Browse Source

增加CmsSystem接口rpc配置

shuzheng 8 years ago
parent
commit
34afcb0ac6

+ 2 - 0
zheng-cms/zheng-cms-admin/src/main/resources/applicationContext-dubbo-consumer.xml

@@ -31,6 +31,8 @@
     <dubbo:reference id="cmsPageService" interface="com.zheng.cms.rpc.api.CmsPageService" mock="true"/>
     <!-- 设置 -->
     <dubbo:reference id="cmsSettingService" interface="com.zheng.cms.rpc.api.CmsSettingService" mock="true"/>
+    <!-- 系统 -->
+    <dubbo:reference id="cmsSystemService" interface="com.zheng.cms.rpc.api.CmsSystemService" mock="true"/>
 
     <!-- 接口服务 -->
     <dubbo:reference id="upmsApiService" interface="com.zheng.upms.rpc.api.UpmsApiService" mock="true" registry="upmsRegistry"/>

+ 4 - 0
zheng-cms/zheng-cms-rpc-service/src/main/resources/META-INF/spring/applicationContext-dubbo-provider.xml

@@ -45,4 +45,8 @@
     <bean id="cmsSettingImpl" class="com.zheng.cms.rpc.service.impl.CmsSettingServiceImpl"/>
     <dubbo:service interface="com.zheng.cms.rpc.api.CmsSettingService" ref="cmsSettingImpl" timeout="10000"/>
 
+    <!-- 系统 -->
+    <bean id="cmsSystemImpl" class="com.zheng.cms.rpc.service.impl.CmsSystemServiceImpl"/>
+    <dubbo:service interface="com.zheng.cms.rpc.api.CmsSystemService" ref="cmsSystemImpl" timeout="10000"/>
+
 </beans>

+ 2 - 0
zheng-cms/zheng-cms-web/src/main/resources/applicationContext-dubbo-consumer.xml

@@ -30,5 +30,7 @@
     <dubbo:reference id="cmsPageService" interface="com.zheng.cms.rpc.api.CmsPageService" mock="true"/>
     <!-- 设置 -->
     <dubbo:reference id="cmsSettingService" interface="com.zheng.cms.rpc.api.CmsSettingService" mock="true"/>
+    <!-- 系统 -->
+    <dubbo:reference id="cmsSystemService" interface="com.zheng.cms.rpc.api.CmsSystemService" mock="true"/>
 
 </beans>