增加CmsSystem接口rpc配置

This commit is contained in:
shuzheng 2017-04-09 00:16:24 +08:00
parent 2748a1eb49
commit 34afcb0ac6
3 changed files with 8 additions and 0 deletions

View File

@ -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"/>

View File

@ -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>

View File

@ -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>