1234567891011121314151617181920212223242526272829303132333435363738 |
- <?xml version="1.0" encoding="UTF-8"?>
- <beans xmlns="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema/context"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="
- http://www.springframework.org/schema/beans
- http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
- http://www.springframework.org/schema/context
- http://www.springframework.org/schema/context/spring-context-4.0.xsd">
- <bean id="storeService" class="com.fsm.cms.store.StoreService">
- <property name="store" ref="storeDisk" />
- </bean>
- <bean id="storeDb" class="com.fsm.cms.store.StoreDb"></bean>
- <bean id="storeDisk" class="com.fsm.cms.store.StoreDisk">
- <property name="diskPath" value="${webapp.root}/WEB-INF/upload" />
- </bean>
- <bean id="publishStore" class="com.fsm.cms.store.StoreDisk">
- <property name="diskPath" value="${webapp.root}/html" />
- </bean>
- <bean id="templateStore" class="com.fsm.cms.store.StoreDisk">
- <property name="diskPath" value="${webapp.root}/WEB-INF/templates/" />
- </bean>
- <bean id="dbBak" class="com.fsm.platform.service.DbBakService">
- <property name="dataSource" ref="dataSource" />
- <property name="savePath" value="${webapp.root}/WEB-INF/dbbak/" />
- </bean>
-
- <bean id="urlRuleDefault" class="com.fsm.cms.urlrule.UrlRuleDefault">
- <property name="columnRule" value="/$R{RuleID}/node_$R{ColumnID}.html" />
- <property name="templateRule" value="/$R{RuleID}/tplimg" />
- <property name="webRule" value="/$R{RuleID}/content/$R{Year}-$R{Month}/$R{Date}/$R{ColumnID}_$R{InfoSerial}.html" />
- <property name="imageRule" value="/$R{RuleID}/image" />
- <property name="fileRule" value="/$R{RuleID}/download" />
- <property name="videoRule" value="/$R{RuleID}/video" />
- </bean>
- </beans>
|