wenhongquan 10 months ago
parent
commit
29a3e74f0d

+ 33 - 33
ruoyi-admin/pom.xml

@@ -90,39 +90,39 @@
                 </configuration>   
            </plugin>
 
-            <plugin>
-                <groupId>com.google.cloud.tools</groupId>
-                <artifactId>jib-maven-plugin</artifactId>
-                <version>1.7.0</version>
-                <configuration>
-                    <!--from节点用来设置镜像的基础镜像,相当于Docerkfile中的FROM关键字-->
-                    <from>
-                        <image>anapsix/alpine-java:8_server-jre_unlimited</image>
-                    </from>
-                    <to>
-                        <!--镜像名称和tag,使用了mvn内置变量${project.version},表示当前工程的version-->
-                        <image>docker.xt.wenhq.top:8083/docker_r/qdtl:${project.version}</image>
-                        <auth>
-                            <username>admin</username>
-                            <password>xtwenhongquan</password>
-                        </auth>
-                    </to>
-                    <!--容器相关的属性-->
-                    <container>
-                        <useCurrentTimestamp>true</useCurrentTimestamp>
-                    </container>
-                    <allowInsecureRegistries>true</allowInsecureRegistries>
-
-                </configuration>
-                <executions>
-                    <execution>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>build</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
+<!--            <plugin>-->
+<!--                <groupId>com.google.cloud.tools</groupId>-->
+<!--                <artifactId>jib-maven-plugin</artifactId>-->
+<!--                <version>1.7.0</version>-->
+<!--                <configuration>-->
+<!--                    &lt;!&ndash;from节点用来设置镜像的基础镜像,相当于Docerkfile中的FROM关键字&ndash;&gt;-->
+<!--                    <from>-->
+<!--                        <image>anapsix/alpine-java:8_server-jre_unlimited</image>-->
+<!--                    </from>-->
+<!--                    <to>-->
+<!--                        &lt;!&ndash;镜像名称和tag,使用了mvn内置变量${project.version},表示当前工程的version&ndash;&gt;-->
+<!--                        <image>docker.xt.wenhq.top:8083/docker_r/qdtl:${project.version}</image>-->
+<!--                        <auth>-->
+<!--                            <username>admin</username>-->
+<!--                            <password>xtwenhongquan</password>-->
+<!--                        </auth>-->
+<!--                    </to>-->
+<!--                    &lt;!&ndash;容器相关的属性&ndash;&gt;-->
+<!--                    <container>-->
+<!--                        <useCurrentTimestamp>true</useCurrentTimestamp>-->
+<!--                    </container>-->
+<!--                    <allowInsecureRegistries>true</allowInsecureRegistries>-->
+
+<!--                </configuration>-->
+<!--                <executions>-->
+<!--                    <execution>-->
+<!--                        <phase>package</phase>-->
+<!--                        <goals>-->
+<!--                            <goal>build</goal>-->
+<!--                        </goals>-->
+<!--                    </execution>-->
+<!--                </executions>-->
+<!--            </plugin>-->
 
 
         </plugins>

+ 1 - 1
ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java

@@ -107,7 +107,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
                         "/qdtl/plan/exportSchedule",
                         "/profile/**"
                 ).permitAll()
-                .antMatchers("/common/upload", "/common/download/resource", "/qdtl/log/missExport").permitAll()
+                .antMatchers( "/common/download/resource", "/qdtl/log/missExport").permitAll()
 //                .antMatchers("/swagger-ui.html").anonymous()
 //                .antMatchers("/swagger-resources/**").anonymous()
 //                .antMatchers("/webjars/**").anonymous()