Prechádzať zdrojové kódy

修改okhttp全局请求并,增加日志
增加日志监听加上链路id,方便查找打印日志

xiewenjie 4 rokov pred
rodič
commit
e3339c96fc
100 zmenil súbory, kde vykonal 694 pridanie a 1111790 odobranie
  1. 255 263
      pom.xml
  2. 213 202
      src/main/java/com/sxz/base/controller/ImportDataController.java
  3. 31 21
      src/main/java/com/sxz/base/controller/LoginController.java
  4. 12 8
      src/main/java/com/sxz/base/controller/SceneController.java
  5. 69 53
      src/main/java/com/sxz/base/controller/SceneStyleController.java
  6. 97 0
      src/main/java/com/sxz/base/controller/loggingController.java
  7. 17 6
      src/main/java/com/sxz/base/controller/testController.java
  8. 0 0
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/0ddb6b40-b7f0-4007-a544-29122b46ad3a.zip
  9. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/23.4dage
  10. 0 619024
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/23.obj
  11. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/3d66Model-515617-1-11.jpg
  12. 0 386
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/first/23.mtl
  13. 0 491827
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/first/23.obj
  14. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat0_a.jpg
  15. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat0_c.jpg
  16. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat0_g.jpg
  17. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat0_n.jpg
  18. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat0_r.jpg
  19. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat10_c.jpg
  20. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat10_g.jpg
  21. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat10_r.jpg
  22. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat11_c.jpg
  23. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat11_g.jpg
  24. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat11_r.jpg
  25. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat12_c.jpg
  26. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat12_g.jpg
  27. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat12_r.jpg
  28. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat13_c.jpg
  29. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat13_g.jpg
  30. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat13_r.jpg
  31. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat14_c.jpg
  32. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat14_g.jpg
  33. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat14_r.jpg
  34. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat15_c.jpg
  35. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat15_g.jpg
  36. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat15_r.jpg
  37. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat16_c.jpg
  38. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat16_g.jpg
  39. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat16_r.jpg
  40. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat17_c.jpg
  41. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat17_g.jpg
  42. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat17_r.jpg
  43. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat18_c.jpg
  44. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat18_g.jpg
  45. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat18_r.jpg
  46. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat19_c.jpg
  47. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat19_g.jpg
  48. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat19_r.jpg
  49. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat1_a.jpg
  50. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat1_c.jpg
  51. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat1_g.jpg
  52. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat1_n.jpg
  53. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat1_r.jpg
  54. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat20_c.jpg
  55. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat20_g.jpg
  56. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat20_r.jpg
  57. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat21_c.jpg
  58. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat21_g.jpg
  59. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat21_r.jpg
  60. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat22_c.jpg
  61. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat22_g.jpg
  62. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat22_r.jpg
  63. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat23_c.jpg
  64. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat23_g.jpg
  65. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat23_r.jpg
  66. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat24_c.jpg
  67. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat24_g.jpg
  68. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat24_r.jpg
  69. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat25_c.jpg
  70. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat25_g.jpg
  71. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat25_r.jpg
  72. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat26_c.jpg
  73. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat26_g.jpg
  74. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat26_r.jpg
  75. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat27_c.jpg
  76. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat27_g.jpg
  77. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat27_r.jpg
  78. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat28_c.jpg
  79. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat28_g.jpg
  80. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat28_r.jpg
  81. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat29_c.jpg
  82. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat29_g.jpg
  83. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat29_r.jpg
  84. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat2_a.jpg
  85. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat2_c.jpg
  86. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat2_g.jpg
  87. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat2_n.jpg
  88. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat2_r.jpg
  89. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat30_c.jpg
  90. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat30_g.jpg
  91. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat30_r.jpg
  92. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat31_c.jpg
  93. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat31_g.jpg
  94. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat31_r.jpg
  95. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat3_a.jpg
  96. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat3_c.jpg
  97. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat3_g.jpg
  98. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat3_n.jpg
  99. BIN
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat3_r.jpg
  100. 0 0
      src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat4_c.jpg

+ 255 - 263
pom.xml

@@ -1,293 +1,285 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-		 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
-	<modelVersion>4.0.0</modelVersion>
-	<parent>
-		<groupId>org.springframework.boot</groupId>
-		<artifactId>spring-boot-starter-parent</artifactId>
-		<version>2.2.5.RELEASE</version>
-		<relativePath/> <!-- lookup parent from repository -->
-	</parent>
-	<groupId>com.sxz</groupId>
-	<artifactId>changeing</artifactId>
-	<version>0.0.1-SNAPSHOT</version>
-	<packaging>jar</packaging>
-	<name>changeing</name>
-	<description>sxz</description>
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.springframework.boot</groupId>
+        <artifactId>spring-boot-starter-parent</artifactId>
+        <version>2.4.5</version>
+        <relativePath/> <!-- lookup parent from repository -->
+    </parent>
+    <groupId>com.sxz</groupId>
+    <artifactId>changeing</artifactId>
+    <version>0.0.1-SNAPSHOT</version>
+    <packaging>jar</packaging>
+    <name>changeing</name>
+    <description>sxz</description>
 
-	<properties>
-		<java.version>1.8</java.version>
-	</properties>
+    <properties>
+        <java.version>1.8</java.version>
+    </properties>
 
-	<dependencies>
-		<dependency>
-			<groupId>org.springframework.boot</groupId>
-			<artifactId>spring-boot-starter</artifactId>
-		</dependency>
+    <dependencies>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-thymeleaf</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-test</artifactId>
+            <scope>test</scope>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.junit.vintage</groupId>
+                    <artifactId>junit-vintage-engine</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-web</artifactId>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.springframework.boot</groupId>
+                    <artifactId>spring-boot-starter-tomcat</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <!--rabbitmq-->
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-amqp</artifactId>
+        </dependency>
 
-		<dependency>
-			<groupId>org.springframework.boot</groupId>
-			<artifactId>spring-boot-starter-test</artifactId>
-			<scope>test</scope>
-			<exclusions>
-				<exclusion>
-					<groupId>org.junit.vintage</groupId>
-					<artifactId>junit-vintage-engine</artifactId>
-				</exclusion>
-			</exclusions>
-		</dependency>
-		<dependency>
-			<groupId>org.springframework.boot</groupId>
-			<artifactId>spring-boot-starter-web</artifactId>
-			<exclusions>
-				<exclusion>
-					<groupId>org.springframework.boot</groupId>
-					<artifactId>spring-boot-starter-tomcat</artifactId>
-				</exclusion>
-			</exclusions>
-		</dependency>
-		<!--rabbitmq-->
-		<dependency>
-			<groupId>org.springframework.boot</groupId>
-			<artifactId>spring-boot-starter-amqp</artifactId>
-		</dependency>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-tomcat</artifactId>
+            <scope>provided</scope>
+        </dependency>
 
-		<dependency>
-			<groupId>org.springframework.boot</groupId>
-			<artifactId>spring-boot-starter-tomcat</artifactId>
-			<scope>provided</scope>
-		</dependency>
+        <dependency>
+            <groupId>com.baomidou</groupId>
+            <artifactId>mybatis-plus-boot-starter</artifactId>
+            <version>3.4.3.1</version>
+        </dependency>
+        <dependency>
+            <groupId>com.h2database</groupId>
+            <artifactId>h2</artifactId>
+            <scope>runtime</scope>
+        </dependency>
+        <!-- 代码生成器  依赖 -->
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-freemarker</artifactId>
+        </dependency>
+        <!-- pagehelper 依赖 -->
+        <dependency>
+            <groupId>com.github.pagehelper</groupId>
+            <artifactId>pagehelper-spring-boot-starter</artifactId>
+            <version>1.3.1</version>
+        </dependency>
+        <!-- 					-->
 
-		<dependency>
-			<groupId>com.baomidou</groupId>
-			<artifactId>mybatis-plus-boot-starter</artifactId>
-			<version>3.4.3.1</version>
-		</dependency>
-		<dependency>
-			<groupId>com.h2database</groupId>
-			<artifactId>h2</artifactId>
-			<scope>runtime</scope>
-		</dependency>
-		<!-- 代码生成器  依赖 -->
-		<dependency>
-			<groupId>org.springframework.boot</groupId>
-			<artifactId>spring-boot-starter-freemarker</artifactId>
-		</dependency>
-		<!-- pagehelper 依赖 -->
-		<dependency>
-			<groupId>com.github.pagehelper</groupId>
-			<artifactId>pagehelper-spring-boot-starter</artifactId>
-			<version>1.3.1</version>
-		</dependency>
-		<!-- 					-->
+        <dependency>
+            <groupId>com.github.jsqlparser</groupId>
+            <artifactId>jsqlparser</artifactId>
+            <version>2.1</version>
+        </dependency>
 
-		<dependency>
-			<groupId>com.github.jsqlparser</groupId>
-			<artifactId>jsqlparser</artifactId>
-			<version>2.1</version>
-		</dependency>
+        <dependency>
+            <groupId>org.aspectj</groupId>
+            <artifactId>aspectjweaver</artifactId>
+            <version>1.9.3</version>
+        </dependency>
 
-		<dependency>
-			<groupId>org.aspectj</groupId>
-			<artifactId>aspectjweaver</artifactId>
-			<version>1.9.3</version>
-		</dependency>
+        <!-- mysql -->
+        <dependency>
+            <groupId>mysql</groupId>
+            <artifactId>mysql-connector-java</artifactId>
+            <version>8.0.15</version>
+            <scope>runtime</scope>
+        </dependency>
+        <!-- druid -->
+        <dependency>
+            <groupId>com.alibaba</groupId>
+            <artifactId>druid</artifactId>
+            <version>1.0.28</version>
+        </dependency>
 
-		<!-- mysql -->
-		<dependency>
-			<groupId>mysql</groupId>
-			<artifactId>mysql-connector-java</artifactId>
-			<version>8.0.15</version>
-			<scope>runtime</scope>
-		</dependency>
-		<!-- druid -->
-		<dependency>
-			<groupId>com.alibaba</groupId>
-			<artifactId>druid</artifactId>
-			<version>1.0.28</version>
-		</dependency>
+        <dependency>
+            <groupId>org.projectlombok</groupId>
+            <artifactId>lombok</artifactId>
+            <version>1.18.20</version>
+        </dependency>
 
-		<dependency>
-			<groupId>org.projectlombok</groupId>
-			<artifactId>lombok</artifactId>
-			<version>1.18.20</version>
-		</dependency>
+        <!-- fastjson -->
+        <dependency>
+            <groupId>com.alibaba</groupId>
+            <artifactId>fastjson</artifactId>
+            <version>1.2.67</version>
+        </dependency>
+        <!--Jackson required包-->
+        <dependency>
+            <groupId>com.fasterxml.jackson.core</groupId>
+            <artifactId>jackson-core</artifactId>
+            <version>2.12.4</version>
+        </dependency>
+        <dependency>
+            <groupId>com.fasterxml.jackson.core</groupId>
+            <artifactId>jackson-databind</artifactId>
+            <version>2.12.4</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>com.fasterxml.jackson.core</groupId>
+                    <artifactId>jackson-annotations</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>com.fasterxml.jackson.core</groupId>
+            <artifactId>jackson-annotations</artifactId>
+            <version>2.12.4</version>
+        </dependency>
 
-		<!-- fastjson -->
-		<dependency>
-			<groupId>com.alibaba</groupId>
-			<artifactId>fastjson</artifactId>
-			<version>1.2.67</version>
-		</dependency>
-		<dependency>
-			<groupId>com.fasterxml.jackson.core</groupId>
-			<artifactId>jackson-databind</artifactId>
-			<version>2.9.5</version>
-			<exclusions>
-				<exclusion>
-					<groupId>com.fasterxml.jackson.core</groupId>
-					<artifactId>jackson-annotations</artifactId>
-				</exclusion>
-			</exclusions>
-		</dependency>
+        <dependency>
+            <groupId>com.google.protobuf</groupId>
+            <artifactId>protobuf-java</artifactId>
+            <version>3.2.0</version>
+        </dependency>
+        <dependency>
+            <groupId>com.googlecode.protobuf-java-format</groupId>
+            <artifactId>protobuf-java-format</artifactId>
+            <version>1.4</version>
+        </dependency>
 
-		<dependency>
-			<groupId>com.google.protobuf</groupId>
-			<artifactId>protobuf-java</artifactId>
-			<version>3.2.0</version>
-		</dependency>
-		<dependency>
-			<groupId>com.googlecode.protobuf-java-format</groupId>
-			<artifactId>protobuf-java-format</artifactId>
-			<version>1.4</version>
-		</dependency>
+        <dependency>
+            <groupId>org.codehaus.jackson</groupId>
+            <artifactId>jackson-mapper-asl</artifactId>
+            <version>1.9.11</version>
+        </dependency>
 
-		<dependency>
-			<groupId>org.codehaus.jackson</groupId>
-			<artifactId>jackson-mapper-asl</artifactId>
-			<version>1.9.11</version>
-		</dependency>
+        <dependency>
+            <groupId>org.codehaus.jackson</groupId>
+            <artifactId>jackson-smile</artifactId>
+            <version>1.9.12</version>
+        </dependency>
 
-		<dependency>
-			<groupId>com.fasterxml.jackson.core</groupId>
-			<artifactId>jackson-annotations</artifactId>
-			<version>2.9.5</version>
-		</dependency>
-		<dependency>
-			<groupId>com.fasterxml.jackson.core</groupId>
-			<artifactId>jackson-core</artifactId>
-			<version>2.9.5</version>
-		</dependency>
-		<!--<dependency>-->
-		<!--<groupId>com.fasterxml.jackson.core</groupId>-->
-		<!--<artifactId>jackson-databind</artifactId>-->
-		<!--<version>2.3.3</version>-->
-		<!--<exclusions>-->
-		<!--<exclusion>-->
-		<!--<groupId>com.fasterxml.jackson.core</groupId>-->
-		<!--<artifactId>jackson-annotations</artifactId>-->
-		<!--</exclusion>-->
-		<!--</exclusions>-->
-		<!--</dependency>-->
-		<dependency>
-			<groupId>org.codehaus.jackson</groupId>
-			<artifactId>jackson-smile</artifactId>
-			<version>1.9.12</version>
-		</dependency>
+        <!-- https://mvnrepository.com/artifact/com.aliyun/aliyun-java-sdk-ossadmin -->
+        <dependency>
+            <groupId>com.aliyun</groupId>
+            <artifactId>aliyun-java-sdk-ossadmin</artifactId>
+            <version>2.0.0</version>
+        </dependency>
+        <dependency>
+            <groupId>com.aliyun.oss</groupId>
+            <artifactId>aliyun-sdk-oss</artifactId>
+            <version>2.8.3</version>
+        </dependency>
 
-		<!-- https://mvnrepository.com/artifact/com.aliyun/aliyun-java-sdk-ossadmin -->
-		<dependency>
-			<groupId>com.aliyun</groupId>
-			<artifactId>aliyun-java-sdk-ossadmin</artifactId>
-			<version>2.0.0</version>
-		</dependency>
-		<dependency>
-			<groupId>com.aliyun.oss</groupId>
-			<artifactId>aliyun-sdk-oss</artifactId>
-			<version>2.8.3</version>
-		</dependency>
+        <dependency>
+            <groupId>org.apache.httpcomponents</groupId>
+            <artifactId>httpclient</artifactId>
+            <version>4.5.3</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.httpcomponents</groupId>
+            <artifactId>httpmime</artifactId>
+            <version>4.5.3</version>
+        </dependency>
 
-		<dependency>
-			<groupId>org.apache.httpcomponents</groupId>
-			<artifactId>httpclient</artifactId>
-			<version>4.5.3</version>
-		</dependency>
-		<dependency>
-			<groupId>org.apache.httpcomponents</groupId>
-			<artifactId>httpmime</artifactId>
-			<version>4.5.3</version>
-		</dependency>
+        <dependency>
+            <groupId>com.github.xiaoymin</groupId>
+            <artifactId>knife4j-spring-boot-starter</artifactId>
+            <version>2.0.2</version>
+        </dependency>
 
-		<dependency>
-			<groupId>com.github.xiaoymin</groupId>
-			<artifactId>knife4j-spring-boot-starter</artifactId>
-			<version>2.0.2</version>
-		</dependency>
+        <!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp -->
+        <dependency>
+            <groupId>com.squareup.okhttp3</groupId>
+            <artifactId>okhttp</artifactId>
+            <version>4.0.0</version>
+        </dependency>
 
-		<!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp -->
-		<dependency>
-			<groupId>com.squareup.okhttp3</groupId>
-			<artifactId>okhttp</artifactId>
-			<version>4.0.0</version>
-		</dependency>
+        <dependency>
+            <groupId>org.apache.ant</groupId>
+            <artifactId>ant</artifactId>
+            <version>1.8.2</version>
+        </dependency>
 
-		<dependency>
-			<groupId>org.apache.ant</groupId>
-			<artifactId>ant</artifactId>
-			<version>1.8.2</version>
-		</dependency>
+        <!-- 解压rar -->
+        <dependency>
+            <groupId>com.github.junrar</groupId>
+            <artifactId>junrar</artifactId>
+            <version>3.0.0</version>
+        </dependency>
 
-		<!-- 解压rar -->
-		<dependency>
-			<groupId>com.github.junrar</groupId>
-			<artifactId>junrar</artifactId>
-			<version>3.0.0</version>
-		</dependency>
+        <dependency>
+            <groupId>org.apache.poi</groupId>
+            <artifactId>poi-ooxml</artifactId>
+            <version>3.8</version>
+        </dependency>
 
-		<dependency>
-			<groupId>org.apache.poi</groupId>
-			<artifactId>poi-ooxml</artifactId>
-			<version>3.8</version>
-		</dependency>
+        <dependency>
+            <groupId>net.sf.json-lib</groupId>
+            <artifactId>json-lib</artifactId>
+            <version>2.4</version>
+            <classifier>jdk15</classifier>
+        </dependency>
 
-		<dependency>
-			<groupId>net.sf.json-lib</groupId>
-			<artifactId>json-lib</artifactId>
-			<version>2.4</version>
-			<classifier>jdk15</classifier>
-		</dependency>
+        <dependency>
+            <groupId>cn.hutool</groupId>
+            <artifactId>hutool-all</artifactId>
+            <version>5.7.7</version>
+        </dependency>
 
-		<dependency>
-			<groupId>cn.hutool</groupId>
-			<artifactId>hutool-all</artifactId>
-			<version>5.7.7</version>
-		</dependency>
+        <!--lettuce-->
+        <!--redis 相关  依赖-->
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-data-redis</artifactId>
+        </dependency>
 
-		<!--lettuce-->
-		<!--redis 相关  依赖-->
-		<dependency>
-			<groupId>org.springframework.boot</groupId>
-			<artifactId>spring-boot-starter-data-redis</artifactId>
-		</dependency>
+        <!-- lettuce pool 缓存连接池 -->
+        <dependency>
+            <groupId>org.apache.commons</groupId>
+            <artifactId>commons-pool2</artifactId>
+            <version>2.4.2</version>
+        </dependency>
 
-		<!-- lettuce pool 缓存连接池 -->
-		<dependency>
-			<groupId>org.apache.commons</groupId>
-			<artifactId>commons-pool2</artifactId>
-		</dependency>
-		<dependency>
-			<groupId>junit</groupId>
-			<artifactId>junit</artifactId>
-			<version>4.12</version>
-			<scope>test</scope>
-		</dependency>
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>4.12</version>
+            <scope>test</scope>
+        </dependency>
 
+        <!-- 钉钉告警 -->
+        <!--		<dependency>-->
+        <!--			<groupId>com.aliyun</groupId>-->
+        <!--			<artifactId>alibaba-dingtalk-service-sdk</artifactId>-->
+        <!--			<version>1.0.1</version>-->
+        <!--		</dependency>-->
+    </dependencies>
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.springframework.boot</groupId>
+                <artifactId>spring-boot-maven-plugin</artifactId>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <version>2.18.1</version>
+                <configuration>
+                    <skipTests>true</skipTests>
+                </configuration>
+            </plugin>
 
-		<!-- 钉钉告警 -->
-		<!--		<dependency>-->
-		<!--			<groupId>com.aliyun</groupId>-->
-		<!--			<artifactId>alibaba-dingtalk-service-sdk</artifactId>-->
-		<!--			<version>1.0.1</version>-->
-		<!--		</dependency>-->
-
-	</dependencies>
-
-	<build>
-		<plugins>
-			<plugin>
-				<groupId>org.springframework.boot</groupId>
-				<artifactId>spring-boot-maven-plugin</artifactId>
-			</plugin>
-			<plugin>
-				<groupId>org.apache.maven.plugins</groupId>
-				<artifactId>maven-surefire-plugin</artifactId>
-				<version>2.18.1</version>
-				<configuration>
-					<skipTests>true</skipTests>
-				</configuration>
-			</plugin>
-
-		</plugins>
-	</build>
+        </plugins>
+    </build>
 
 </project>

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 213 - 202
src/main/java/com/sxz/base/controller/ImportDataController.java


+ 31 - 21
src/main/java/com/sxz/base/controller/LoginController.java

@@ -4,11 +4,13 @@ import com.alibaba.fastjson.JSON;
 import com.alibaba.fastjson.JSONObject;
 import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
 import com.baomidou.mybatisplus.core.toolkit.Wrappers;
-import com.sxz.base.util.RedisUtil;
 import com.sxz.base.constant.CodeConstant;
 import com.sxz.base.entity.StatisticsEntity;
 import com.sxz.base.service.IStatisticsService;
-import com.sxz.base.util.*;
+import com.sxz.base.util.DateUtil;
+import com.sxz.base.util.OkHttpUtils;
+import com.sxz.base.util.RedisUtil;
+import com.sxz.base.util.Result;
 import com.sxz.base.vo.request.RequestUser;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiImplicitParam;
@@ -17,7 +19,6 @@ import io.swagger.annotations.ApiOperation;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.beans.factory.annotation.Value;
-import org.springframework.cache.annotation.CacheEvict;
 import org.springframework.util.StringUtils;
 import org.springframework.web.bind.annotation.RequestBody;
 import org.springframework.web.bind.annotation.RequestMapping;
@@ -29,7 +30,6 @@ import java.util.Date;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
-import java.util.concurrent.TimeUnit;
 
 /**
  * Created by Hb_zzZ on 2020/7/8.
@@ -38,7 +38,7 @@ import java.util.concurrent.TimeUnit;
 @RestController
 @RequestMapping("/change")
 @Api(tags = "登陆模块")
-public class LoginController extends BaseController  {
+public class LoginController extends BaseController {
 
     @Value("${main.url}")
     private String mainUrl;
@@ -46,9 +46,12 @@ public class LoginController extends BaseController  {
     @Autowired
     private IStatisticsService statisticsService;
 
+    @Autowired
+    private RedisUtil redisUtil;
 
     /**
      * 登陆
+     *
      * @param user
      * @return
      */
@@ -57,27 +60,27 @@ public class LoginController extends BaseController  {
             @ApiImplicitParam(name = "phoneNum", value = "用户名", dataType = "String"),
             @ApiImplicitParam(name = "password", value = "密码", dataType = "String")})
     @RequestMapping(value = "/login", method = RequestMethod.POST)
-    public String login(@RequestBody RequestUser user){
+    public String login(@RequestBody RequestUser user) {
         JSONObject data = new JSONObject();
         data.put("phoneNum", user.getPhoneNum());
 //        data.put("password", Base64Converter.addText(Base64Converter.encode(user.getPassword())));
         data.put("password", user.getPassword());
         data.put("cameraType", 4);
 
-        JSONObject object = JSON.parseObject(HttpRequestorUtil.postJson(mainUrl + "api/sso/user/login", data.toJSONString(), "POST", null));
-        if("88888888888".equals(user.getPhoneNum())){
+        JSONObject object = JSON.parseObject(OkHttpUtils.httpPostJson(mainUrl + "api/sso/user/login", data.toJSONString(), null));
+        if ("88888888888".equals(user.getPhoneNum())) {
             object.put("isAdmin", 1);
-        }else {
+        } else {
             object.put("isAdmin", 0);
         }
-        LambdaQueryWrapper<StatisticsEntity> wrapper =  Wrappers.lambdaQuery();
-        wrapper.eq(StatisticsEntity::getStatisticsDate,DateUtil.date2String(new Date(), DateUtil.YYYY_MM_DD_DATE_FORMAT));
+        LambdaQueryWrapper<StatisticsEntity> wrapper = Wrappers.lambdaQuery();
+        wrapper.eq(StatisticsEntity::getStatisticsDate, DateUtil.date2String(new Date(), DateUtil.YYYY_MM_DD_DATE_FORMAT));
         List<StatisticsEntity> statisticsEntityList = statisticsService.list(wrapper);
-        if(statisticsEntityList.size() > 0){
+        if (statisticsEntityList.size() > 0) {
             StatisticsEntity statisticsEntity = statisticsEntityList.get(0);
             statisticsEntity.setLoginNum(statisticsEntity.getLoginNum() + 1);
             statisticsService.updateById(statisticsEntity);
-        }else {
+        } else {
             StatisticsEntity statisticsEntity = new StatisticsEntity();
             statisticsEntity.setLoginNum(1);
             statisticsEntity.setStatisticsDate(DateUtil.date2String(new Date(), DateUtil.YYYY_MM_DD_DATE_FORMAT));
@@ -89,6 +92,7 @@ public class LoginController extends BaseController  {
 
     /**
      * 发送手机验证码
+     *
      * @param user
      * @return
      */
@@ -97,8 +101,8 @@ public class LoginController extends BaseController  {
             @ApiImplicitParam(name = "phoneNum", value = "用户名", dataType = "String"),
             @ApiImplicitParam(name = "areaNum", value = "区号", dataType = "String")})
     @RequestMapping(value = "/sendMsg", method = RequestMethod.POST)
-    public String sendMsg(@RequestBody RequestUser user){
-        if(StringUtils.isEmpty(user.getAreaNum()) || StringUtils.isEmpty(user.getPhoneNum())){
+    public String sendMsg(@RequestBody RequestUser user) {
+        if (StringUtils.isEmpty(user.getAreaNum()) || StringUtils.isEmpty(user.getPhoneNum())) {
             return JSONObject.toJSON(Result.failure(CodeConstant.FAILURE_CODE_3001, CodeConstant.FAILURE_MSG_3001)).toString();
         }
 
@@ -106,11 +110,12 @@ public class LoginController extends BaseController  {
         data.put("phoneNum", user.getPhoneNum());
         data.put("areaNum", user.getAreaNum());
 
-        return HttpRequestorUtil.postJson(mainUrl + "api/sso/user/getMsgAuthCode", data.toJSONString(), "POST", null);
+        return OkHttpUtils.httpPostJson(mainUrl + "api/sso/user/getMsgAuthCode", data.toJSONString(), null);
     }
 
     /**
      * 验证码登陆
+     *
      * @param user
      * @return
      */
@@ -119,8 +124,8 @@ public class LoginController extends BaseController  {
             @ApiImplicitParam(name = "phoneNum", value = "用户名", dataType = "String"),
             @ApiImplicitParam(name = "areaNum", value = "区号", dataType = "String")})
     @RequestMapping(value = "/quickLogin", method = RequestMethod.POST)
-    public String quickLogin(@RequestBody RequestUser user){
-        if(StringUtils.isEmpty(user.getMsgAuthCode()) || StringUtils.isEmpty(user.getPhoneNum())){
+    public String quickLogin(@RequestBody RequestUser user) {
+        if (StringUtils.isEmpty(user.getMsgAuthCode()) || StringUtils.isEmpty(user.getPhoneNum())) {
             return JSONObject.toJSON(Result.failure(CodeConstant.FAILURE_CODE_3001, CodeConstant.FAILURE_MSG_3001)).toString();
         }
 
@@ -129,11 +134,12 @@ public class LoginController extends BaseController  {
         data.put("msgAuthCode", user.getMsgAuthCode());
         data.put("cameraType", 4);
 
-        return HttpRequestorUtil.postJson(mainUrl + "api/sso/user/quickLogin", data.toJSONString(), "POST", null);
+        return OkHttpUtils.httpPostJson(mainUrl + "api/sso/user/quickLogin", data.toJSONString(), null);
     }
 
     /**
      * 是否已登录
+     *
      * @return
      */
     @ApiOperation("是否已登录")
@@ -141,13 +147,17 @@ public class LoginController extends BaseController  {
     @ApiImplicitParams({
             @ApiImplicitParam(name = "token", value = "用户token", dataType = "String"),
             @ApiImplicitParam(name = "num", value = "场景码", dataType = "String")})
-    public String isLogin(HttpServletRequest request) throws Exception{
+    public String isLogin(HttpServletRequest request) throws Exception {
         String num = request.getParameter("num");
         String token = request.getHeader("token");
 
+        Map<String, String> paramsMap = new HashMap();
+        paramsMap.put("num", num);
+
         Map<String, String> headers = new HashMap();
         headers.put("token", token);
-        return OkHttpUtils.postDataByForm(mainUrl + "api/scene/isLogin", "num=" + num, headers);
+        
+        return OkHttpUtils.httpPostForm(mainUrl + "api/scene/isLogin", paramsMap, headers);
     }
 
 }

+ 12 - 8
src/main/java/com/sxz/base/controller/SceneController.java

@@ -2,7 +2,7 @@ package com.sxz.base.controller;
 
 import com.alibaba.fastjson.JSONObject;
 import com.sxz.base.mq.TopicRabbitConfig;
-import com.sxz.base.util.HttpRequestorUtil;
+import com.sxz.base.util.OkHttpUtils;
 import com.sxz.base.vo.request.RequestScene;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiImplicitParam;
@@ -18,6 +18,8 @@ import org.springframework.web.bind.annotation.RequestMethod;
 import org.springframework.web.bind.annotation.RestController;
 
 import javax.servlet.http.HttpServletRequest;
+import java.util.HashMap;
+import java.util.Map;
 
 /**
  * Created by Hb_zzZ on 2020/7/8.
@@ -26,7 +28,7 @@ import javax.servlet.http.HttpServletRequest;
 @RestController
 @RequestMapping("/change")
 @Api(tags = "四维看看场景模块")
-public class SceneController extends BaseController  {
+public class SceneController extends BaseController {
 
     @Value("${main.url}")
     private String mainUrl;
@@ -36,6 +38,7 @@ public class SceneController extends BaseController  {
 
     /**
      * 获取四维看看用户场景列表
+     *
      * @param scene
      * @param request
      * @return
@@ -46,7 +49,7 @@ public class SceneController extends BaseController  {
             @ApiImplicitParam(name = "pageSize", value = "页数", dataType = "String"),
             @ApiImplicitParam(name = "searchKey", value = "查询条件", dataType = "String")})
     @RequestMapping(value = "/getSceneList", method = RequestMethod.POST)
-    public String getSceneList(@RequestBody RequestScene scene, HttpServletRequest request){
+    public String getSceneList(@RequestBody RequestScene scene, HttpServletRequest request) {
         JSONObject data = new JSONObject();
         data.put("pageNum", scene.getPageNum());
         data.put("pageSize", scene.getPageSize());
@@ -54,18 +57,19 @@ public class SceneController extends BaseController  {
         //指明请求来源
         data.put("type", "11");
 
-        String token = request.getHeader("token");
+        Map<String, String> header = new HashMap<>();
+        header.put("token", request.getHeader("token"));
 
-        return HttpRequestorUtil.postJson(mainUrl + "api/user/scene/list", data.toJSONString(), "POST", token);
+        return OkHttpUtils.httpPostJson(mainUrl + "api/user/scene/list", data.toJSONString(), header);
     }
 
     @RequestMapping(value = "/sendMsg", method = RequestMethod.GET)
-    public String sendMsg(String type){
-        if("change".equals(type)){
+    public String sendMsg(String type) {
+        if ("change".equals(type)) {
             rabbitTemplate.convertAndSend(TopicRabbitConfig.TOPICE, TopicRabbitConfig.CHANGE, "change的消息");
         }
 
-        if("light".equals(type)){
+        if ("light".equals(type)) {
             rabbitTemplate.convertAndSend(TopicRabbitConfig.TOPICE, TopicRabbitConfig.LIGHT, "light的消息");
         }
         return "发送消息结束";

+ 69 - 53
src/main/java/com/sxz/base/controller/SceneStyleController.java

@@ -1,20 +1,20 @@
 package com.sxz.base.controller;
 
+import cn.hutool.core.util.ObjectUtil;
 import com.alibaba.fastjson.JSONObject;
 import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
 import com.baomidou.mybatisplus.core.toolkit.Wrappers;
+import com.github.pagehelper.PageInfo;
 import com.sxz.base.constant.CodeConstant;
 import com.sxz.base.entity.SceneLightEntity;
 import com.sxz.base.entity.SceneStyleEntity;
 import com.sxz.base.service.ISceneLightService;
 import com.sxz.base.service.ISceneStyleService;
-import com.sxz.base.util.HttpRequestorUtil;
+import com.sxz.base.util.OkHttpUtils;
 import com.sxz.base.util.Result;
 import com.sxz.base.vo.request.RequestSceneLight;
 import com.sxz.base.vo.request.RequestSceneStyle;
 import com.sxz.base.vo.response.ResponseSceneLight;
-import com.github.pagehelper.PageHelper;
-import com.github.pagehelper.PageInfo;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiImplicitParam;
 import io.swagger.annotations.ApiImplicitParams;
@@ -30,9 +30,7 @@ import org.springframework.web.bind.annotation.RequestMethod;
 import org.springframework.web.bind.annotation.RestController;
 
 import javax.servlet.http.HttpServletRequest;
-import java.util.ArrayList;
-import java.util.Date;
-import java.util.List;
+import java.util.*;
 
 /**
  * Created by Hb_zzZ on 2020/7/14.
@@ -54,6 +52,7 @@ public class SceneStyleController extends BaseController {
 
     /**
      * 保存风格场景
+     *
      * @param style
      * @return
      */
@@ -62,14 +61,14 @@ public class SceneStyleController extends BaseController {
             @ApiImplicitParam(name = "sceneNum", value = "四维看看场景码", dataType = "String"),
             @ApiImplicitParam(name = "styleName", value = "风格方案名称", dataType = "String")})
     @RequestMapping(value = "/save", method = RequestMethod.POST)
-    public Result save(@RequestBody RequestSceneStyle style){
+    public Result save(@RequestBody RequestSceneStyle style) {
         long num = 1;
 
-        LambdaQueryWrapper<SceneStyleEntity> wrapper =  Wrappers.lambdaQuery();
+        LambdaQueryWrapper<SceneStyleEntity> wrapper = Wrappers.lambdaQuery();
         wrapper.eq(SceneStyleEntity::getSceneNum, style.getSceneNum());
         wrapper.orderByDesc(SceneStyleEntity::getNum);
         List<SceneStyleEntity> list = sceneStyleService.list(wrapper);
-        if(list != null && list.size() > 0){
+        if (list != null && list.size() > 0) {
             num = list.get(0).getNum() + 1;
         }
 
@@ -79,13 +78,14 @@ public class SceneStyleController extends BaseController {
         sceneStyleEntity.setSceneNum(style.getSceneNum());
         sceneStyleEntity.setStyleName(style.getStyleName());
         sceneStyleEntity.setStyleNum("vr-" + style.getSceneNum() + "-" + String.format("%3d", num).replace(" ", "0"));
-        Boolean saveFlag=sceneStyleService.save(sceneStyleEntity);
+        Boolean saveFlag = sceneStyleService.save(sceneStyleEntity);
         return Result.success(saveFlag);
     }
 
 
     /**
      * 修改风格场景
+     *
      * @param style
      * @return
      */
@@ -94,8 +94,8 @@ public class SceneStyleController extends BaseController {
             @ApiImplicitParam(name = "id", value = "风格方案id", dataType = "String"),
             @ApiImplicitParam(name = "styleName", value = "风格方案名称", dataType = "String")})
     @RequestMapping(value = "/update", method = RequestMethod.POST)
-    public Result update(@RequestBody RequestSceneStyle style){
-        if(style.getId() == null){
+    public Result update(@RequestBody RequestSceneStyle style) {
+        if (style.getId() == null) {
             return Result.failure(CodeConstant.FAILURE_CODE_3001, CodeConstant.FAILURE_MSG_3001);
         }
         SceneStyleEntity sceneStyleEntity = sceneStyleService.findById(style.getId());
@@ -108,6 +108,7 @@ public class SceneStyleController extends BaseController {
 
     /**
      * 删除风格场景
+     *
      * @param style
      * @return
      */
@@ -116,26 +117,35 @@ public class SceneStyleController extends BaseController {
             @ApiImplicitParam(name = "id", value = "风格方案id", dataType = "String"),
             @ApiImplicitParam(name = "styleName", value = "风格方案名称", dataType = "String")})
     @RequestMapping(value = "/delete", method = RequestMethod.POST)
-    public Result delete(@RequestBody RequestSceneStyle style, HttpServletRequest request){
-        if(style.getId() == null){
+    public Result delete(@RequestBody RequestSceneStyle style, HttpServletRequest request) {
+        if (style.getId() == null) {
             return Result.failure(CodeConstant.FAILURE_CODE_3001, CodeConstant.FAILURE_MSG_3001);
         }
 
         SceneStyleEntity sceneStyleEntity = sceneStyleService.findById(style.getId());
+        if (ObjectUtil.isNull(sceneStyleEntity)) {
+            return Result.failure(CodeConstant.FAILURE_CODE_4003, CodeConstant.FAILURE_MSG_4003);
+        }
+
         sceneStyleEntity.setRecStatus("I");
+        Boolean updateFlag = sceneStyleService.updateById(sceneStyleEntity);
 
-        sceneStyleService.updateById(sceneStyleEntity);
+        log.info("修改状态:" + updateFlag);
 
         JSONObject data = new JSONObject();
         data.put("sceneNum", sceneStyleEntity.getStyleNum());
 
-        HttpRequestorUtil.postJson(mainUrl + "api/user/scene/delete", data.toJSONString(), "POST", request.getHeader("token"));
-
+        Map<String, String> header = new HashMap<>();
+        header.put("token", request.getHeader("token"));
+        log.info("删除风格场景开始ID:" + sceneStyleEntity.getId());
+        OkHttpUtils.httpPostJson(mainUrl + "api/user/scene/delete", data.toJSONString(), header);
+        log.info("删除风格场景结束ID:" + sceneStyleEntity.getId());
         return Result.success();
     }
 
     /**
      * 根据场景码获取风格列表
+     *
      * @param style
      * @return
      */
@@ -146,18 +156,19 @@ public class SceneStyleController extends BaseController {
             @ApiImplicitParam(name = "pageNum", value = "页码", dataType = "String"),
             @ApiImplicitParam(name = "pageSize", value = "页数", dataType = "String")})
     @RequestMapping(value = "/list", method = RequestMethod.POST)
-    public Result list(@RequestBody RequestSceneStyle style){
-        LambdaQueryWrapper<SceneStyleEntity> wrapper =  Wrappers.lambdaQuery();
+    public Result list(@RequestBody RequestSceneStyle style) {
+        LambdaQueryWrapper<SceneStyleEntity> wrapper = Wrappers.lambdaQuery();
         wrapper.eq(SceneStyleEntity::getSceneNum, style.getSceneNum());
-        if(!StringUtils.isEmpty(style.getStyleName())){
+        if (!StringUtils.isEmpty(style.getStyleName())) {
             wrapper.like(SceneStyleEntity::getStyleName, style.getSceneNum());
         }
-        PageInfo<SceneStyleEntity> list =  sceneStyleService.listByPage(style,wrapper);
+        PageInfo<SceneStyleEntity> list = sceneStyleService.listByPage(style, wrapper);
         return Result.success(list);
     }
 
     /**
      * 根据风格码查询数据
+     *
      * @param style
      * @return
      */
@@ -165,17 +176,17 @@ public class SceneStyleController extends BaseController {
     @ApiImplicitParams({
             @ApiImplicitParam(name = "styleNum", value = "风格码", dataType = "String")})
     @RequestMapping(value = "/findOne", method = RequestMethod.POST)
-    public Result findOne(@RequestBody RequestSceneStyle style){
-        if(StringUtils.isEmpty(style.getStyleNum())){
+    public Result findOne(@RequestBody RequestSceneStyle style) {
+        if (StringUtils.isEmpty(style.getStyleNum())) {
             return Result.failure(CodeConstant.FAILURE_CODE_3001, CodeConstant.FAILURE_MSG_3001);
         }
-        LambdaQueryWrapper<SceneStyleEntity> wrapper =  Wrappers.lambdaQuery();
+        LambdaQueryWrapper<SceneStyleEntity> wrapper = Wrappers.lambdaQuery();
         wrapper.eq(SceneStyleEntity::getStyleNum, style.getStyleNum());
         List<SceneStyleEntity> list = sceneStyleService.list(wrapper);
         SceneStyleEntity sceneStyleEntity = null;
-        if(list != null && list.size() > 0){
+        if (list != null && list.size() > 0) {
             sceneStyleEntity = list.get(0);
-        }else {
+        } else {
             return Result.failure(CodeConstant.FAILURE_CODE_4003, CodeConstant.FAILURE_MSG_4003);
         }
         return Result.success(sceneStyleEntity);
@@ -183,6 +194,7 @@ public class SceneStyleController extends BaseController {
 
     /**
      * 根据风格码和状态查询灯光预览数据
+     *
      * @param style
      * @return
      */
@@ -191,28 +203,28 @@ public class SceneStyleController extends BaseController {
             @ApiImplicitParam(name = "recStatus", value = "I:删除(回收站),A:没删除", dataType = "String"),
             @ApiImplicitParam(name = "styleNum", value = "风格码", dataType = "String")})
     @RequestMapping(value = "/findLightByStyleNum", method = RequestMethod.POST)
-    public Result findLightByStyleNum(@RequestBody RequestSceneLight style){
-        if(StringUtils.isEmpty(style.getStyleNum()) || StringUtils.isEmpty(style.getRecStatus())){
+    public Result findLightByStyleNum(@RequestBody RequestSceneLight style) {
+        if (StringUtils.isEmpty(style.getStyleNum()) || StringUtils.isEmpty(style.getRecStatus())) {
             return Result.failure(CodeConstant.FAILURE_CODE_3001, CodeConstant.FAILURE_MSG_3001);
         }
-        LambdaQueryWrapper<SceneStyleEntity> wrapper =  Wrappers.lambdaQuery();
+        LambdaQueryWrapper<SceneStyleEntity> wrapper = Wrappers.lambdaQuery();
         wrapper.eq(SceneStyleEntity::getStyleNum, style.getStyleNum());
         wrapper.orderByDesc(SceneStyleEntity::getCreateTime);
 
         List<SceneStyleEntity> list = sceneStyleService.list(wrapper);
         SceneStyleEntity sceneStyleEntity = null;
-        if(list != null && list.size() > 0){
+        if (list != null && list.size() > 0) {
             sceneStyleEntity = list.get(0);
-        }else {
+        } else {
             return Result.failure(CodeConstant.FAILURE_CODE_4003, CodeConstant.FAILURE_MSG_4003);
         }
 
         List<ResponseSceneLight> result = new ArrayList<>();
         ResponseSceneLight responseSceneLight = null;
 
-        LambdaQueryWrapper<SceneLightEntity> wrapper1 =  Wrappers.lambdaQuery();
-        wrapper1.eq(SceneLightEntity::getSceneStyleId,sceneStyleEntity.getId())
-                .eq(SceneLightEntity::getIsShow,1)
+        LambdaQueryWrapper<SceneLightEntity> wrapper1 = Wrappers.lambdaQuery();
+        wrapper1.eq(SceneLightEntity::getSceneStyleId, sceneStyleEntity.getId())
+                .eq(SceneLightEntity::getIsShow, 1)
                 .eq(SceneLightEntity::getRecStatus, style.getRecStatus())
                 .orderByDesc(SceneLightEntity::getCreateTime);
 
@@ -227,6 +239,7 @@ public class SceneStyleController extends BaseController {
 
     /**
      * 删除灯光预览数据
+     *
      * @param style
      * @return
      */
@@ -234,8 +247,8 @@ public class SceneStyleController extends BaseController {
     @ApiImplicitParams({
             @ApiImplicitParam(name = "id", value = "灯光预览的id", dataType = "String")})
     @RequestMapping(value = "/deleteLightById", method = RequestMethod.POST)
-    public Result deleteLightById(@RequestBody RequestSceneLight style){
-        if(style.getId() == null){
+    public Result deleteLightById(@RequestBody RequestSceneLight style) {
+        if (style.getId() == null) {
             return Result.failure(CodeConstant.FAILURE_CODE_3001, CodeConstant.FAILURE_MSG_3001);
         }
 
@@ -250,6 +263,7 @@ public class SceneStyleController extends BaseController {
 
     /**
      * 执行中的灯光预览
+     *
      * @param style
      * @return
      */
@@ -257,27 +271,27 @@ public class SceneStyleController extends BaseController {
     @ApiImplicitParams({
             @ApiImplicitParam(name = "styleNum", value = "风格码", dataType = "String")})
     @RequestMapping(value = "/findRunningLigth", method = RequestMethod.POST)
-    public Result findRunningLigth(@RequestBody RequestSceneLight style){
-        if(StringUtils.isEmpty(style.getStyleNum())){
+    public Result findRunningLigth(@RequestBody RequestSceneLight style) {
+        if (StringUtils.isEmpty(style.getStyleNum())) {
             return Result.failure(CodeConstant.FAILURE_CODE_3001, CodeConstant.FAILURE_MSG_3001);
         }
 
-        LambdaQueryWrapper<SceneStyleEntity> wrapper =  Wrappers.lambdaQuery();
-        wrapper.eq(SceneStyleEntity::getStyleNum,style.getStyleNum());
+        LambdaQueryWrapper<SceneStyleEntity> wrapper = Wrappers.lambdaQuery();
+        wrapper.eq(SceneStyleEntity::getStyleNum, style.getStyleNum());
 
         List<SceneStyleEntity> list = sceneStyleService.list(wrapper);
         SceneStyleEntity sceneStyleEntity = null;
-        if(list != null && list.size() > 0){
+        if (list != null && list.size() > 0) {
             sceneStyleEntity = list.get(0);
-        }else {
+        } else {
             return Result.failure(CodeConstant.FAILURE_CODE_4003, CodeConstant.FAILURE_MSG_4003);
         }
-        LambdaQueryWrapper<SceneLightEntity> wrapper1 =  Wrappers.lambdaQuery();
-        wrapper1.eq(SceneLightEntity::getSceneStyleId,sceneStyleEntity.getId())
+        LambdaQueryWrapper<SceneLightEntity> wrapper1 = Wrappers.lambdaQuery();
+        wrapper1.eq(SceneLightEntity::getSceneStyleId, sceneStyleEntity.getId())
                 .orderByDesc(SceneLightEntity::getId);
         List<SceneLightEntity> lightEntityList = sceneLightService.list(wrapper1);
         SceneLightEntity sceneLightEntity = null;
-        if(lightEntityList != null && lightEntityList.size() > 0){
+        if (lightEntityList != null && lightEntityList.size() > 0) {
             sceneLightEntity = lightEntityList.get(0);
         }
 
@@ -286,6 +300,7 @@ public class SceneStyleController extends BaseController {
 
     /**
      * 根据id查询灯光预览数据
+     *
      * @param style
      * @return
      */
@@ -293,8 +308,8 @@ public class SceneStyleController extends BaseController {
     @ApiImplicitParams({
             @ApiImplicitParam(name = "id", value = "灯光预览的id", dataType = "String")})
     @RequestMapping(value = "/findLightById", method = RequestMethod.POST)
-    public Result findLightById(@RequestBody RequestSceneLight style){
-        if(style.getId() == null){
+    public Result findLightById(@RequestBody RequestSceneLight style) {
+        if (style.getId() == null) {
             return Result.failure(CodeConstant.FAILURE_CODE_3001, CodeConstant.FAILURE_MSG_3001);
         }
 
@@ -303,6 +318,7 @@ public class SceneStyleController extends BaseController {
 
     /**
      * 从相册设置场景风格封面
+     *
      * @param style
      * @return
      */
@@ -310,18 +326,18 @@ public class SceneStyleController extends BaseController {
     @ApiImplicitParams({
             @ApiImplicitParam(name = "id", value = "灯光预览的id", dataType = "String")})
     @RequestMapping(value = "/setSceneStyleCover", method = RequestMethod.POST)
-    public Result setSceneStyleCover(@RequestBody RequestSceneLight style){
-        if(style.getId() == null){
+    public Result setSceneStyleCover(@RequestBody RequestSceneLight style) {
+        if (style.getId() == null) {
             return Result.failure(CodeConstant.FAILURE_CODE_3001, CodeConstant.FAILURE_MSG_3001);
         }
 
         SceneLightEntity sceneLightEntity = sceneLightService.findById(style.getId());
-        if(sceneLightEntity == null || sceneLightEntity.getIsShow().intValue() == 0){
+        if (sceneLightEntity == null || sceneLightEntity.getIsShow().intValue() == 0) {
             return Result.failure(CodeConstant.FAILURE_CODE_4010, CodeConstant.FAILURE_MSG_4010);
         }
 
         SceneStyleEntity sceneStyleEntity = sceneStyleService.findById(sceneLightEntity.getSceneStyleId());
-        if(sceneStyleEntity == null){
+        if (sceneStyleEntity == null) {
             return Result.failure(CodeConstant.FAILURE_CODE_4003, CodeConstant.FAILURE_MSG_4003);
         }
 
@@ -341,8 +357,8 @@ public class SceneStyleController extends BaseController {
 
     @ApiOperation("全景图渲染版本叠加(给3D同事那边调用)")
     @RequestMapping(value = "/addStyleVersion", method = RequestMethod.POST)
-    public Result addStyleVersion(@RequestBody RequestSceneLight style){
-        if(style.getStyleNum() == null){
+    public Result addStyleVersion(@RequestBody RequestSceneLight style) {
+        if (style.getStyleNum() == null) {
             return Result.failure(CodeConstant.FAILURE_CODE_3001, CodeConstant.FAILURE_MSG_3001);
         }
         int row = sceneStyleService.addVersion(style);

+ 97 - 0
src/main/java/com/sxz/base/controller/loggingController.java

@@ -0,0 +1,97 @@
+package com.sxz.base.controller;
+
+import com.alibaba.fastjson.JSON;
+import com.alibaba.fastjson.JSONArray;
+import com.alibaba.fastjson.JSONObject;
+import com.sxz.base.util.RedisUtil;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiImplicitParam;
+import io.swagger.annotations.ApiImplicitParams;
+import io.swagger.annotations.ApiOperation;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.ResponseBody;
+
+import java.util.Collections;
+import java.util.List;
+
+@Slf4j
+@Controller
+@Api(tags = "请求日志模块")
+public class loggingController extends BaseController {
+
+    @Autowired
+    RedisUtil redisUtil;
+
+
+    @RequestMapping("/logging/logList")
+    public String toUploadPage() {
+        return "logList";
+    }
+
+    @RequestMapping("/logging/list")
+    @ResponseBody
+    @ApiOperation("获取列表")
+    public JSONObject list() throws Exception {
+        List<String> list = redisUtil.lRange("LogList", 0, -1);
+        JSONObject jsonObject = new JSONObject();
+        JSONArray jsonArray = new JSONArray();
+        Collections.reverse(list);
+        list.stream().forEach((String str) -> {
+            JSONObject strRes = JSON.parseObject(str);
+            if (redisUtil.hasKey("TraceId" + strRes.getString("traceId"))) {
+                jsonArray.add(strRes);
+            } else {
+                redisUtil.lRemove("LogList", 0, str);
+            }
+        });
+        jsonObject.put("rows", jsonArray);
+        jsonObject.put("code", 200);
+        jsonObject.put("total", jsonArray.size());
+        return jsonObject;
+    }
+
+    @RequestMapping("/logging/newData")
+    @ResponseBody
+    @ApiOperation("获取最新数据")
+    public JSONObject newData() throws Exception {
+        JSONObject jsonObject = new JSONObject();
+        JSONArray jsonArray = new JSONArray();
+        List<String> list = redisUtil.lRange("newLogList", 0, -1);
+        Collections.reverse(list);
+        list.stream().forEach((String str) -> {
+            JSONObject strRes = JSON.parseObject(str);
+            if (redisUtil.hasKey("TraceId" + strRes.getString("traceId"))) {
+                jsonArray.add(strRes);
+            }
+            redisUtil.lRemove("newLogList", 0, str);
+        });
+        jsonObject.put("rows", jsonArray);
+        jsonObject.put("code", 200);
+        jsonObject.put("total", jsonArray.size());
+        return jsonObject;
+    }
+
+    @RequestMapping("/logging/getDetail")
+    @ResponseBody
+    @ApiOperation("根据traceId获取详情")
+    @ApiImplicitParams({
+            @ApiImplicitParam(name = "id", value = "traceId", dataType = "String")})
+    public JSONObject getDetail(String id) throws Exception {
+        JSONObject jsonObject = new JSONObject();
+        JSONArray jsonArray = new JSONArray();
+        List<String> list = redisUtil.lRange(id, 0, -1);
+        list.forEach((String str) -> {
+            JSONObject strRes = JSON.parseObject(str);
+            if (redisUtil.hasKey(strRes.getString("traceId"))) {
+                jsonArray.add(strRes);
+            }
+        });
+        jsonObject.put("rows", jsonArray);
+        jsonObject.put("code", 200);
+        jsonObject.put("total", jsonArray.size());
+        return jsonObject;
+    }
+}

+ 17 - 6
src/main/java/com/sxz/base/controller/testController.java

@@ -1,5 +1,6 @@
 package com.sxz.base.controller;
 
+import com.sxz.base.util.OkHttpUtils;
 import com.sxz.base.util.RedisUtil;
 import com.sxz.base.util.Result;
 import io.swagger.annotations.Api;
@@ -8,7 +9,6 @@ import io.swagger.annotations.ApiImplicitParams;
 import io.swagger.annotations.ApiOperation;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.cache.annotation.CacheEvict;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RequestMethod;
 import org.springframework.web.bind.annotation.RestController;
@@ -17,13 +17,14 @@ import org.springframework.web.bind.annotation.RestController;
 @RestController
 @RequestMapping("/change")
 @Api(tags = "测试模块")
-public class testController extends BaseController{
+public class testController extends BaseController {
 
     @Autowired
     private RedisUtil redisUtil;
 
     /**
      * 测试redis
+     *
      * @param key
      * @param val
      * @return
@@ -33,11 +34,21 @@ public class testController extends BaseController{
             @ApiImplicitParam(name = "key", value = "key", dataType = "String"),
             @ApiImplicitParam(name = "val", value = "val", dataType = "String")})
     @RequestMapping(value = "/redis", method = RequestMethod.POST)
-    public Result redis(String key, String val){
-        redisUtil.set(key,val);
-        return  success(redisUtil.get(key)) ;
+    public Result redis(String key, String val) {
+        redisUtil.set(key, val);
+        return success(redisUtil.get(key));
     }
 
-
+    /**
+     * 测试redis
+     *
+     * @return
+     */
+    @ApiOperation("okhttp")
+    @RequestMapping(value = "/okhttp", method = RequestMethod.POST)
+    public Result okhttp() throws Exception {
+        OkHttpUtils.httpGet("http://www.baidu.com");
+        return success();
+    }
 
 }

+ 0 - 0
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/0ddb6b40-b7f0-4007-a544-29122b46ad3a.zip


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/23.4dage


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 619024
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/23.obj


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/3d66Model-515617-1-11.jpg


+ 0 - 386
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/first/23.mtl

@@ -1,386 +0,0 @@
-# 3ds Max Wavefront OBJ Exporter v0.97b - (c)2007 guruware
-# ´´½¨µÄÎļş:29.06.2017 15:51:31
-
-newmtl cheke
-	Ns 10.0000
-	Ni 1.5000
-	d 1.0000
-	Tr 0.0000
-	Tf 1.0000 1.0000 1.0000 
-	illum 2
-	Ka 0.5880 0.5880 0.5880
-	Kd 0.5880 0.5880 0.5880
-	Ks 0.0000 0.0000 0.0000
-	Ke 0.0000 0.0000 0.0000
-
-newmtl Mat3d66_515617_13_126
-	Ns 10.0000
-	Ni 1.5000
-	d 1.0000
-	Tr 0.0000
-	Tf 1.0000 1.0000 1.0000 
-	illum 2
-	Ka 0.5880 0.5880 0.5880
-	Kd 0.5880 0.5880 0.5880
-	Ks 0.0000 0.0000 0.0000
-	Ke 0.0000 0.0000 0.0000
-
-newmtl 12___Default
-	Ns 10.0000
-	Ni 1.5000
-	d 1.0000
-	Tr 0.0000
-	Tf 1.0000 1.0000 1.0000 
-	illum 2
-	Ka 0.5882 0.5882 0.5882
-	Kd 0.5882 0.5882 0.5882
-	Ks 0.0000 0.0000 0.0000
-	Ke 0.0000 0.0000 0.0000
-
-newmtl geshan
-	Ns 10.0000
-	Ni 1.5000
-	d 1.0000
-	Tr 0.0000
-	Tf 1.0000 1.0000 1.0000 
-	illum 2
-	Ka 0.5882 0.5882 0.5882
-	Kd 0.5882 0.5882 0.5882
-	Ks 0.0000 0.0000 0.0000
-	Ke 0.0000 0.0000 0.0000
-
-newmtl 15___Default
-	Ns 10.0000
-	Ni 1.5000
-	d 1.0000
-	Tr 0.0000
-	Tf 1.0000 1.0000 1.0000 
-	illum 2
-	Ka 0.5882 0.5882 0.5882
-	Kd 0.5882 0.5882 0.5882
-	Ks 0.0000 0.0000 0.0000
-	Ke 0.0000 0.0000 0.0000
-
-newmtl boli
-	Ns 10.0000
-	Ni 1.5000
-	d 1.0000
-	Tr 0.0000
-	Tf 1.0000 1.0000 1.0000 
-	illum 2
-	Ka 0.5880 0.5880 0.5880
-	Kd 0.5880 0.5880 0.5880
-	Ks 0.0000 0.0000 0.0000
-	Ke 0.0000 0.0000 0.0000
-
-newmtl biantiao
-	Ns 10.0000
-	Ni 1.5000
-	d 1.0000
-	Tr 0.0000
-	Tf 1.0000 1.0000 1.0000 
-	illum 2
-	Ka 0.5882 0.5882 0.5882
-	Kd 0.5882 0.5882 0.5882
-	Ks 0.0000 0.0000 0.0000
-	Ke 0.0000 0.0000 0.0000
-
-newmtl 05___Default
-	Ns 10.0000
-	Ni 1.5000
-	d 1.0000
-	Tr 0.0000
-	Tf 1.0000 1.0000 1.0000 
-	illum 2
-	Ka 0.5882 0.5882 0.5882
-	Kd 0.5882 0.5882 0.5882
-	Ks 0.0000 0.0000 0.0000
-	Ke 0.0000 0.0000 0.0000
-
-newmtl 14___Default
-	Ns 10.0000
-	Ni 1.5000
-	d 1.0000
-	Tr 0.0000
-	Tf 1.0000 1.0000 1.0000 
-	illum 2
-	Ka 0.5882 0.5882 0.5882
-	Kd 0.5882 0.5882 0.5882
-	Ks 0.0000 0.0000 0.0000
-	Ke 0.0000 0.0000 0.0000
-
-newmtl 07___Default
-	Ns 10.0000
-	Ni 1.5000
-	d 1.0000
-	Tr 0.0000
-	Tf 1.0000 1.0000 1.0000 
-	illum 2
-	Ka 0.5882 0.5882 0.5882
-	Kd 0.5882 0.5882 0.5882
-	Ks 0.0000 0.0000 0.0000
-	Ke 0.0000 0.0000 0.0000
-
-newmtl 09___Default
-	Ns 10.0000
-	Ni 1.5000
-	d 1.0000
-	Tr 0.0000
-	Tf 1.0000 1.0000 1.0000 
-	illum 2
-	Ka 0.5882 0.5882 0.5882
-	Kd 0.5882 0.5882 0.5882
-	Ks 0.0000 0.0000 0.0000
-	Ke 0.0000 0.0000 0.0000
-
-newmtl qianchedeng
-	Ns 10.0000
-	Ni 1.5000
-	d 1.0000
-	Tr 0.0000
-	Tf 1.0000 1.0000 1.0000 
-	illum 2
-	Ka 0.5882 0.5882 0.5882
-	Kd 0.5882 0.5882 0.5882
-	Ks 0.0000 0.0000 0.0000
-	Ke 0.0000 0.0000 0.0000
-
-newmtl 13___Default
-	Ns 10.0000
-	Ni 1.5000
-	d 1.0000
-	Tr 0.0000
-	Tf 1.0000 1.0000 1.0000 
-	illum 2
-	Ka 0.5882 0.5882 0.5882
-	Kd 0.5882 0.5882 0.5882
-	Ks 0.0000 0.0000 0.0000
-	Ke 0.0000 0.0000 0.0000
-
-newmtl 10___Default
-	Ns 10.0000
-	Ni 1.5000
-	d 1.0000
-	Tr 0.0000
-	Tf 1.0000 1.0000 1.0000 
-	illum 2
-	Ka 0.5882 0.5882 0.5882
-	Kd 0.5882 0.5882 0.5882
-	Ks 0.0000 0.0000 0.0000
-	Ke 0.0000 0.0000 0.0000
-
-newmtl neishi
-	Ns 10.0000
-	Ni 1.5000
-	d 1.0000
-	Tr 0.0000
-	Tf 1.0000 1.0000 1.0000 
-	illum 2
-	Ka 0.5880 0.5880 0.5880
-	Kd 0.5880 0.5880 0.5880
-	Ks 0.0000 0.0000 0.0000
-	Ke 0.0000 0.0000 0.0000
-
-newmtl zuoyi
-	Ns 10.0000
-	Ni 1.5000
-	d 1.0000
-	Tr 0.0000
-	Tf 1.0000 1.0000 1.0000 
-	illum 2
-	Ka 0.5882 0.5882 0.5882
-	Kd 0.5882 0.5882 0.5882
-	Ks 0.0000 0.0000 0.0000
-	Ke 0.0000 0.0000 0.0000
-
-newmtl houshijing
-	Ns 10.0000
-	Ni 1.5000
-	d 1.0000
-	Tr 0.0000
-	Tf 1.0000 1.0000 1.0000 
-	illum 2
-	Ka 0.5882 0.5882 0.5882
-	Kd 0.5882 0.5882 0.5882
-	Ks 0.0000 0.0000 0.0000
-	Ke 0.0000 0.0000 0.0000
-
-newmtl 01___Default
-	Ns 10.0000
-	Ni 1.5000
-	d 1.0000
-	Tr 0.0000
-	Tf 1.0000 1.0000 1.0000 
-	illum 2
-	Ka 0.5882 0.5882 0.5882
-	Kd 0.5882 0.5882 0.5882
-	Ks 0.0000 0.0000 0.0000
-	Ke 0.0000 0.0000 0.0000
-
-newmtl LOGO
-	Ns 10.0000
-	Ni 1.5000
-	d 1.0000
-	Tr 0.0000
-	Tf 1.0000 1.0000 1.0000 
-	illum 2
-	Ka 0.5882 0.5882 0.5882
-	Kd 0.5882 0.5882 0.5882
-	Ks 0.0000 0.0000 0.0000
-	Ke 0.0000 0.0000 0.0000
-
-newmtl 11___Default
-	Ns 10.0000
-	Ni 1.5000
-	d 1.0000
-	Tr 0.0000
-	Tf 1.0000 1.0000 1.0000 
-	illum 2
-	Ka 0.5882 0.5882 0.5882
-	Kd 0.5882 0.5882 0.5882
-	Ks 0.0000 0.0000 0.0000
-	Ke 0.0000 0.0000 0.0000
-
-newmtl sdghsdjgh
-	Ns 10.0000
-	Ni 1.5000
-	d 1.0000
-	Tr 0.0000
-	Tf 1.0000 1.0000 1.0000 
-	illum 2
-	Ka 0.5882 0.5882 0.5882
-	Kd 0.5882 0.5882 0.5882
-	Ks 0.0000 0.0000 0.0000
-	Ke 0.0000 0.0000 0.0000
-
-newmtl bashou
-	Ns 10.0000
-	Ni 1.5000
-	d 1.0000
-	Tr 0.0000
-	Tf 1.0000 1.0000 1.0000 
-	illum 2
-	Ka 0.5882 0.5882 0.5882
-	Kd 0.5882 0.5882 0.5882
-	Ks 0.0000 0.0000 0.0000
-	Ke 0.0000 0.0000 0.0000
-
-newmtl 06___Default
-	Ns 10.0000
-	Ni 1.5000
-	d 1.0000
-	Tr 0.0000
-	Tf 1.0000 1.0000 1.0000 
-	illum 2
-	Ka 0.5882 0.5882 0.5882
-	Kd 0.5882 0.5882 0.5882
-	Ks 0.0000 0.0000 0.0000
-	Ke 0.0000 0.0000 0.0000
-
-newmtl 08___Default
-	Ns 10.0000
-	Ni 1.5000
-	d 1.0000
-	Tr 0.0000
-	Tf 1.0000 1.0000 1.0000 
-	illum 2
-	Ka 0.5882 0.5882 0.5882
-	Kd 0.5882 0.5882 0.5882
-	Ks 0.0000 0.0000 0.0000
-	Ke 0.0000 0.0000 0.0000
-
-newmtl 03___Default
-	Ns 10.0000
-	Ni 1.5000
-	d 1.0000
-	Tr 0.0000
-	Tf 1.0000 1.0000 1.0000 
-	illum 2
-	Ka 0.5882 0.5882 0.5882
-	Kd 0.5882 0.5882 0.5882
-	Ks 0.0000 0.0000 0.0000
-	Ke 0.0000 0.0000 0.0000
-
-newmtl 02___Default
-	Ns 10.0000
-	Ni 1.5000
-	d 1.0000
-	Tr 0.0000
-	Tf 1.0000 1.0000 1.0000 
-	illum 2
-	Ka 0.5882 0.5882 0.5882
-	Kd 0.5882 0.5882 0.5882
-	Ks 0.0000 0.0000 0.0000
-	Ke 0.0000 0.0000 0.0000
-
-newmtl 04___Default
-	Ns 10.0000
-	Ni 1.5000
-	d 1.0000
-	Tr 0.0000
-	Tf 1.0000 1.0000 1.0000 
-	illum 2
-	Ka 0.5882 0.5882 0.5882
-	Kd 0.5882 0.5882 0.5882
-	Ks 0.0000 0.0000 0.0000
-	Ke 0.0000 0.0000 0.0000
-
-newmtl luntai
-	Ns 10.0000
-	Ni 1.5000
-	d 1.0000
-	Tr 0.0000
-	Tf 1.0000 1.0000 1.0000 
-	illum 2
-	Ka 0.5882 0.5882 0.5882
-	Kd 0.5882 0.5882 0.5882
-	Ks 0.0000 0.0000 0.0000
-	Ke 0.0000 0.0000 0.0000
-
-newmtl shacheqian
-	Ns 10.0000
-	Ni 1.5000
-	d 1.0000
-	Tr 0.0000
-	Tf 1.0000 1.0000 1.0000 
-	illum 2
-	Ka 0.5882 0.5882 0.5882
-	Kd 0.5882 0.5882 0.5882
-	Ks 0.0000 0.0000 0.0000
-	Ke 0.0000 0.0000 0.0000
-
-newmtl luosi
-	Ns 10.0000
-	Ni 1.5000
-	d 1.0000
-	Tr 0.0000
-	Tf 1.0000 1.0000 1.0000 
-	illum 2
-	Ka 0.5882 0.5882 0.5882
-	Kd 0.5882 0.5882 0.5882
-	Ks 0.0000 0.0000 0.0000
-	Ke 0.0000 0.0000 0.0000
-
-newmtl lungu
-	Ns 10.0000
-	Ni 1.5000
-	d 1.0000
-	Tr 0.0000
-	Tf 1.0000 1.0000 1.0000 
-	illum 2
-	Ka 0.5882 0.5882 0.5882
-	Kd 0.5882 0.5882 0.5882
-	Ks 0.0000 0.0000 0.0000
-	Ke 0.0000 0.0000 0.0000
-
-newmtl 20___Default
-	Ns 10.0000
-	Ni 1.5000
-	d 1.0000
-	Tr 0.0000
-	Tf 1.0000 1.0000 1.0000 
-	illum 2
-	Ka 0.5882 0.5882 0.5882
-	Kd 0.5882 0.5882 0.5882
-	Ks 0.0000 0.0000 0.0000
-	Ke 0.0000 0.0000 0.0000

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 491827
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/first/23.obj


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat0_a.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat0_c.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat0_g.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat0_n.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat0_r.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat10_c.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat10_g.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat10_r.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat11_c.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat11_g.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat11_r.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat12_c.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat12_g.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat12_r.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat13_c.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat13_g.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat13_r.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat14_c.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat14_g.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat14_r.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat15_c.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat15_g.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat15_r.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat16_c.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat16_g.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat16_r.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat17_c.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat17_g.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat17_r.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat18_c.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat18_g.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat18_r.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat19_c.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat19_g.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat19_r.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat1_a.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat1_c.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat1_g.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat1_n.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat1_r.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat20_c.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat20_g.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat20_r.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat21_c.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat21_g.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat21_r.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat22_c.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat22_g.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat22_r.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat23_c.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat23_g.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat23_r.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat24_c.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat24_g.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat24_r.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat25_c.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat25_g.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat25_r.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat26_c.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat26_g.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat26_r.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat27_c.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat27_g.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat27_r.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat28_c.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat28_g.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat28_r.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat29_c.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat29_g.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat29_r.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat2_a.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat2_c.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat2_g.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat2_n.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat2_r.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat30_c.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat30_g.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat30_r.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat31_c.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat31_g.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat31_r.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat3_a.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat3_c.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat3_g.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat3_n.jpg


BIN
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat3_r.jpg


+ 0 - 0
src/main/java/com/sxz/base/jumi/data/0ddb6b40-b7f0-4007-a544-29122b46ad3a/mat4_c.jpg


Niektoré súbory nie sú zobrazené, pretože je v týchto rozdielových dátach zmenené mnoho súborov