Jelajahi Sumber

上海工行-金桥

shiwn 2 tahun lalu
induk
melakukan
e6dbe7b402

+ 14 - 0
code/h5client-app/pom.xml

@@ -66,6 +66,20 @@
             <artifactId>tomcat-embed-logging-juli</artifactId>
             <version>8.5.2</version>
         </dependency>
+        <!--        thymeleaf-->
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-thymeleaf</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-web</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.mybatis.spring.boot</groupId>
+            <artifactId>mybatis-spring-boot-starter</artifactId>
+            <version>2.1.4</version>
+        </dependency>
         <!--        lombok-->
         <dependency>
             <groupId>org.projectlombok</groupId>

+ 2 - 1
code/h5client-app/src/main/java/com/gonghang/h5clientapp/H5clientAppApplication.java

@@ -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) {

File diff ditekan karena terlalu besar
+ 0 - 0
code/h5client-app/src/main/java/com/gonghang/h5clientapp/config/LoginHandlerInterceptor.java


File diff ditekan karena terlalu besar
+ 0 - 0
code/h5client-app/src/main/java/com/gonghang/h5clientapp/config/MvcConfig.java


Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini