增加app附加参数

This commit is contained in:
egzosn
2019-01-05 15:07:17 +08:00
parent 6dc5710053
commit 3c82983ac8
4 changed files with 42 additions and 36 deletions

View File

@@ -8,7 +8,6 @@
http://www.springframework.org/schema/context/spring-context.xsd"
>
<!-- 使用annotation注解的方式时需要添加上此行配置 -->
<context:annotation-config />
<context:component-scan base-package="com.egzosn.pay.demo" />

View File

@@ -11,23 +11,12 @@
http://www.springframework.org/schema/context/spring-context.xsd
">
<!-- 使用annotation注解的方式时需要添加上此行配置 -->
<context:annotation-config/>
<!-- 只扫描控制器Action -->
<context:component-scan base-package="com.egzosn.pay.demo.controller" />
<!-- MVC 注解 -->
<mvc:annotation-driven>
<!-- <mvc:message-converters >
&lt;!&ndash; 配置Fastjson支持 &ndash;&gt;
<bean class="com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter4">
<mvc:annotation-driven/>
</bean>
</mvc:message-converters>-->
</mvc:annotation-driven>
<!-- 静态资源,当找不到对应的处理时,调用这个 -->
<mvc:default-servlet-handler/>