mirror of
https://gitee.com/egzosn/pay-java-parent.git
synced 2026-06-09 02:42:20 +08:00
增加app附加参数
This commit is contained in:
@@ -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" />
|
||||
|
||||
@@ -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 >
|
||||
<!– 配置Fastjson支持 –>
|
||||
<bean class="com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter4">
|
||||
<mvc:annotation-driven/>
|
||||
|
||||
</bean>
|
||||
</mvc:message-converters>-->
|
||||
</mvc:annotation-driven>
|
||||
|
||||
<!-- 静态资源,当找不到对应的处理时,调用这个 -->
|
||||
<mvc:default-servlet-handler/>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user