|
@@ -3,10 +3,11 @@ package com.gonghang.h5clientapp;
|
|
|
import org.mybatis.spring.annotation.MapperScan;
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
-import org.springframework.boot.web.servlet.ServletComponentScan;
|
|
|
+import springfox.documentation.swagger2.annotations.EnableSwagger2;
|
|
|
|
|
|
@MapperScan(value = {"com.gonghang.h5clientapp.dao"}) // 扫描mapper
|
|
|
@SpringBootApplication
|
|
|
+@EnableSwagger2
|
|
|
public class H5clientAppApplication {
|
|
|
|
|
|
public static void main(String[] args) {
|