Explorar o código

上海工行-金桥

shiwn %!s(int64=2) %!d(string=hai) anos
pai
achega
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) {

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
code/h5client-app/src/main/java/com/gonghang/h5clientapp/config/LoginHandlerInterceptor.java


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
code/h5client-app/src/main/java/com/gonghang/h5clientapp/config/MvcConfig.java


Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio