controller扫描已controller为后缀的类
This commit is contained in:
parent
961be1c55d
commit
d4a36c57b0
|
@ -13,7 +13,7 @@
|
|||
http://www.springframework.org/schema/mvc/spring-mvc.xsd">
|
||||
|
||||
<!-- 扫描controller -->
|
||||
<context:component-scan base-package="**.controller" />
|
||||
<context:component-scan base-package="**.*controller" />
|
||||
<context:annotation-config />
|
||||
|
||||
<!-- 支持controller返回json -->
|
||||
|
|
Loading…
Reference in New Issue