LIVE_YE il y a 1 an
Parent
commit
8725c22cbe

+ 2 - 2
ruoyi-admin/pom.xml

@@ -98,8 +98,8 @@
                 <configuration>
                     <failOnMissingWebXml>false</failOnMissingWebXml>
                     <warName>${project.artifactId}</warName>
-                </configuration>   
-           </plugin>   
+                </configuration>
+           </plugin>
         </plugins>
         <finalName>${project.artifactId}</finalName>
     </build>

+ 4 - 0
ruoyi-admin/src/main/resources/application-druid.yml

@@ -118,3 +118,7 @@ spring:
         suffix: .html
         cache: false
 
+web-office:
+    convert:
+        appid: SX20240516EYFBUA
+        secret: vwJbZyZwrwaHMZKcPRFoCHyrlnTiswfI

+ 0 - 12
ruoyi-system/pom.xml

@@ -14,18 +14,6 @@
     <description>
         system系统模块
     </description>
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <source>9</source>
-                    <target>9</target>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
 
     <dependencies>
 

+ 2 - 2
ruoyi-system/src/main/java/com/ruoyi/system/service/webOfficeImpl/MultiPhaseFileStorageServiceImpl.java

@@ -96,8 +96,8 @@ public class MultiPhaseFileStorageServiceImpl implements MultiPhaseFileStorageSe
         Optional.of(request)
                 .map(FileUploadMultiPhase.FileUploadComplete.Request::getResponse)
                 .filter(r -> r.getStatus() == HttpStatus.OK.value())
-                .ifPresentOrElse(r -> {
-                }, FileUploadNotComplete::new);
+                .ifPresent(r -> {
+                });
 
         // 获取当前用户,实际不是这么玩的,点进去看看
         //SysUser user = SecurityUtils.getLoginUser().getUser();