Commit ac34aa45662bd207d702fa23a1e4bcff73c01913

Authored by fangcheng
1 parent 501e1e115b
Exists in master

配置文件修改

Showing 2 changed files with 2 additions and 7 deletions

parent/center.manager/src/main/resources/xml/app-tx.xml View file @ ac34aa4
... ... @@ -9,9 +9,6 @@
9 9 http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.2.xsd
10 10 http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.2.xsd">
11 11  
12   - <!-- 扫描 service -->
13   - <context:component-scan base-package="com.iec.b2c.web.service" />
14   -
15 12 <!-- 使用annotation注解方式配置事务 -->
16 13 <tx:annotation-driven transaction-manager="transactionManager" />
17 14  
parent/hospital.web/src/main/resources/app-context.xml View file @ ac34aa4
... ... @@ -24,9 +24,8 @@
24 24 </bean>
25 25  
26 26 <context:component-scan base-package="com.lyms" />
27   - <!-- <mvc:default-servlet-handler /> -->
28 27  
29   - <!-- 配置静态资源,直接映射到对应的文件夹,DispatcherServlet 不处理 -->
  28 + <!--
30 29 <mvc:resources mapping="/static/**" location="/WEB-INF/static/" cache-period="31926534">
31 30 <mvc:resource-chain resource-cache="false" auto-registration="false">
32 31 <mvc:resolvers>
... ... @@ -36,7 +35,7 @@
36 35 </mvc:resource-chain>
37 36 </mvc:resources>
38 37 <mvc:resources mapping="/error/**" location="/error/" />
39   -
  38 + -->
40 39 <!-- swagger2 -->
41 40 <bean class="com.lyms.hospital.conf.SwaggerConfig"></bean>
42 41 <mvc:resources location="classpath:/META-INF/resources/" mapping="swagger-ui.html"/>
... ... @@ -55,7 +54,6 @@
55 54 <aop:aspectj-autoproxy/>
56 55  
57 56 <bean class = "com.lyms.aop.SysLogAop"/>
58   -
59 57  
60 58 <mvc:interceptors>
61 59 <bean id="tokenValidateInteceptor" class="com.lyms.hospital.inteceptor.TokenValidateInteceptor"/>