|
@@ -13,7 +13,7 @@
|
|
|
http://www.springframework.org/schema/mvc/spring-mvc.xsd">
|
|
http://www.springframework.org/schema/mvc/spring-mvc.xsd">
|
|
|
|
|
|
|
|
<!-- 扫描controller -->
|
|
<!-- 扫描controller -->
|
|
|
- <context:component-scan base-package="**.controller" />
|
|
|
|
|
|
|
+ <context:component-scan base-package="**.*controller" />
|
|
|
<context:annotation-config />
|
|
<context:annotation-config />
|
|
|
|
|
|
|
|
<!-- 支持controller返回json -->
|
|
<!-- 支持controller返回json -->
|