Browse Source

更新 'src/main/resources/applicationContext.xml'

master
parent
commit
e3bbb2f4b0
1 changed files with 14 additions and 11 deletions
  1. +14
    -11
      src/main/resources/applicationContext.xml

+ 14
- 11
src/main/resources/applicationContext.xml View File

@@ -1,20 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:websocket="http://www.springframework.org/schema/websocket"
xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd
http://www.springframework.org/schema/websocket
http://www.springframework.org/schema/websocket/spring-websocket.xsd">

<aop:aspectj-autoproxy/>
<context:component-scan base-package="com.educoder.bridge.controller"/>
<context:component-scan base-package="com.educoder.bridge.service"/>
<context:component-scan base-package="com.educoder.bridge.handler"/>
<context:component-scan base-package="com.educo123131313der.bridge.service"/>
<context:component-scan base-package="com.educoder.q23133131bridge.handler"/>

<!-- freemaker配置 -->
<bean id="freemarkerConfig"
@@ -24,6 +15,18 @@
<props>
<prop key="template_update_delay">0</prop>
<prop key="default_encoding">UTF-8</prop>


xmlns:context="http://www.springframework.org/schema/context"
xmlns:websocket="http://www.springframework.org/schema/websocket"
xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd
http://www.springframework.org/schema/websocket
http://www.springframework.org/schema/websocket/spring-websocket.xsd">

<prop key="number_format">0.##########</prop>
<prop key="datetime_format">yyyy-MM-dd HH:mm:ss</prop>
<prop key="classic_compatible">true</prop>


Loading…
Cancel
Save