Browse Source

新增自动配置

周浩 9 years ago
parent
commit
157ec7e7dc

+ 15 - 0
hsweb-web-controller/src/main/java/org/hsweb/web/controller/ControllerAutoConfiguration.java

@@ -0,0 +1,15 @@
+package org.hsweb.web.controller;
+
+import org.springframework.context.annotation.ComponentScan;
+import org.springframework.context.annotation.Configuration;
+
+/**
+ * Created by zhouhao on 16-5-6.
+ */
+@Configuration
+@ComponentScan(
+        basePackages = {"org.hsweb.web.controller"}
+)
+public class ControllerAutoConfiguration {
+
+}