RuoYi 5 anni fa
parent
commit
f64f806a42

+ 1 - 1
README.md

@@ -79,7 +79,7 @@ com.ruoyi
79
     </tr>
79
     </tr>
80
     <tr>
80
     <tr>
81
         <td><img src="https://oscimg.oschina.net/oscnet/up-39bf2584ec3a529b0d5a3b70d15c9b37646.png"/></td>
81
         <td><img src="https://oscimg.oschina.net/oscnet/up-39bf2584ec3a529b0d5a3b70d15c9b37646.png"/></td>
82
-        <td><img src="https://oscimg.oschina.net/oscnet/up-936ec82d1f4872e1bc980927654b6007307.png"/></td>
82
+        <td><img src="https://oscimg.oschina.net/oscnet/up-4148b24f58660a9dc347761e4cf6162f28f.png"/></td>
83
     </tr>
83
     </tr>
84
 	<tr>
84
 	<tr>
85
         <td><img src="https://oscimg.oschina.net/oscnet/up-b2d62ceb95d2dd9b3fbe157bb70d26001e9.png"/></td>
85
         <td><img src="https://oscimg.oschina.net/oscnet/up-b2d62ceb95d2dd9b3fbe157bb70d26001e9.png"/></td>

+ 2 - 2
pom.xml

@@ -6,14 +6,14 @@
6
 
6
 
7
     <groupId>com.ruoyi</groupId>
7
     <groupId>com.ruoyi</groupId>
8
     <artifactId>ruoyi</artifactId>
8
     <artifactId>ruoyi</artifactId>
9
-    <version>2.1.0</version>
9
+    <version>2.2.0</version>
10
 
10
 
11
     <name>ruoyi</name>
11
     <name>ruoyi</name>
12
     <url>http://www.ruoyi.vip</url>
12
     <url>http://www.ruoyi.vip</url>
13
     <description>若依微服务系统</description>
13
     <description>若依微服务系统</description>
14
 
14
 
15
     <properties>
15
     <properties>
16
-        <ruoyi.version>2.1.0</ruoyi.version>
16
+        <ruoyi.version>2.2.0</ruoyi.version>
17
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
17
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
18
         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
18
         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
19
         <java.version>1.8</java.version>
19
         <java.version>1.8</java.version>

+ 1 - 1
ruoyi-api/pom.xml

@@ -4,7 +4,7 @@
4
     <parent>
4
     <parent>
5
         <groupId>com.ruoyi</groupId>
5
         <groupId>com.ruoyi</groupId>
6
         <artifactId>ruoyi</artifactId>
6
         <artifactId>ruoyi</artifactId>
7
-        <version>2.1.0</version>
7
+        <version>2.2.0</version>
8
     </parent>
8
     </parent>
9
     <modelVersion>4.0.0</modelVersion>
9
     <modelVersion>4.0.0</modelVersion>
10
 
10
 

+ 1 - 1
ruoyi-api/ruoyi-api-system/pom.xml

@@ -5,7 +5,7 @@
5
     <parent>
5
     <parent>
6
         <groupId>com.ruoyi</groupId>
6
         <groupId>com.ruoyi</groupId>
7
         <artifactId>ruoyi-api</artifactId>
7
         <artifactId>ruoyi-api</artifactId>
8
-        <version>2.1.0</version>
8
+        <version>2.2.0</version>
9
     </parent>
9
     </parent>
10
     <modelVersion>4.0.0</modelVersion>
10
     <modelVersion>4.0.0</modelVersion>
11
     
11
     

+ 1 - 1
ruoyi-auth/pom.xml

@@ -4,7 +4,7 @@
4
     <parent>
4
     <parent>
5
         <groupId>com.ruoyi</groupId>
5
         <groupId>com.ruoyi</groupId>
6
         <artifactId>ruoyi</artifactId>
6
         <artifactId>ruoyi</artifactId>
7
-        <version>2.1.0</version>
7
+        <version>2.2.0</version>
8
     </parent>
8
     </parent>
9
     <modelVersion>4.0.0</modelVersion>
9
     <modelVersion>4.0.0</modelVersion>
10
     
10
     

+ 1 - 1
ruoyi-common/pom.xml

@@ -4,7 +4,7 @@
4
     <parent>
4
     <parent>
5
         <groupId>com.ruoyi</groupId>
5
         <groupId>com.ruoyi</groupId>
6
         <artifactId>ruoyi</artifactId>
6
         <artifactId>ruoyi</artifactId>
7
-        <version>2.1.0</version>
7
+        <version>2.2.0</version>
8
     </parent>
8
     </parent>
9
     <modelVersion>4.0.0</modelVersion>
9
     <modelVersion>4.0.0</modelVersion>
10
 
10
 

+ 1 - 1
ruoyi-common/ruoyi-common-core/pom.xml

@@ -5,7 +5,7 @@
5
     <parent>
5
     <parent>
6
         <groupId>com.ruoyi</groupId>
6
         <groupId>com.ruoyi</groupId>
7
         <artifactId>ruoyi-common</artifactId>
7
         <artifactId>ruoyi-common</artifactId>
8
-        <version>2.1.0</version>
8
+        <version>2.2.0</version>
9
     </parent>
9
     </parent>
10
     <modelVersion>4.0.0</modelVersion>
10
     <modelVersion>4.0.0</modelVersion>
11
 
11
 

+ 1 - 1
ruoyi-common/ruoyi-common-datascope/pom.xml

@@ -5,7 +5,7 @@
5
     <parent>
5
     <parent>
6
         <groupId>com.ruoyi</groupId>
6
         <groupId>com.ruoyi</groupId>
7
         <artifactId>ruoyi-common</artifactId>
7
         <artifactId>ruoyi-common</artifactId>
8
-        <version>2.1.0</version>
8
+        <version>2.2.0</version>
9
     </parent>
9
     </parent>
10
     <modelVersion>4.0.0</modelVersion>
10
     <modelVersion>4.0.0</modelVersion>
11
     
11
     

+ 1 - 1
ruoyi-common/ruoyi-common-log/pom.xml

@@ -5,7 +5,7 @@
5
     <parent>
5
     <parent>
6
         <groupId>com.ruoyi</groupId>
6
         <groupId>com.ruoyi</groupId>
7
         <artifactId>ruoyi-common</artifactId>
7
         <artifactId>ruoyi-common</artifactId>
8
-        <version>2.1.0</version>
8
+        <version>2.2.0</version>
9
     </parent>
9
     </parent>
10
     <modelVersion>4.0.0</modelVersion>
10
     <modelVersion>4.0.0</modelVersion>
11
     
11
     

+ 1 - 1
ruoyi-common/ruoyi-common-redis/pom.xml

@@ -5,7 +5,7 @@
5
     <parent>
5
     <parent>
6
         <groupId>com.ruoyi</groupId>
6
         <groupId>com.ruoyi</groupId>
7
         <artifactId>ruoyi-common</artifactId>
7
         <artifactId>ruoyi-common</artifactId>
8
-        <version>2.1.0</version>
8
+        <version>2.2.0</version>
9
     </parent>
9
     </parent>
10
     <modelVersion>4.0.0</modelVersion>
10
     <modelVersion>4.0.0</modelVersion>
11
     
11
     

+ 1 - 1
ruoyi-common/ruoyi-common-security/pom.xml

@@ -4,7 +4,7 @@
4
     <parent>
4
     <parent>
5
         <groupId>com.ruoyi</groupId>
5
         <groupId>com.ruoyi</groupId>
6
         <artifactId>ruoyi-common</artifactId>
6
         <artifactId>ruoyi-common</artifactId>
7
-        <version>2.1.0</version>
7
+        <version>2.2.0</version>
8
     </parent>
8
     </parent>
9
     <modelVersion>4.0.0</modelVersion>
9
     <modelVersion>4.0.0</modelVersion>
10
     
10
     

+ 2 - 2
ruoyi-common/ruoyi-common-security/src/main/java/com/ruoyi/common/security/aspect/PreAuthorizeAspect.java

@@ -79,7 +79,7 @@ public class PreAuthorizeAspect
79
             }
79
             }
80
             throw new PreAuthorizeException();
80
             throw new PreAuthorizeException();
81
         }
81
         }
82
-        else if (StringUtils.isEmpty(annotation.lacksRole()))
82
+        else if (!StringUtils.isEmpty(annotation.lacksRole()))
83
         {
83
         {
84
             if (lacksRole(annotation.lacksRole()))
84
             if (lacksRole(annotation.lacksRole()))
85
             {
85
             {
@@ -87,7 +87,7 @@ public class PreAuthorizeAspect
87
             }
87
             }
88
             throw new PreAuthorizeException();
88
             throw new PreAuthorizeException();
89
         }
89
         }
90
-        else if (StringUtils.isEmpty(annotation.hasAnyRoles()))
90
+        else if (!StringUtils.isEmpty(annotation.hasAnyRoles()))
91
         {
91
         {
92
             if (hasAnyRoles(annotation.hasAnyRoles()))
92
             if (hasAnyRoles(annotation.hasAnyRoles()))
93
             {
93
             {

+ 1 - 1
ruoyi-common/ruoyi-common-swagger/pom.xml

@@ -5,7 +5,7 @@
5
     <parent>
5
     <parent>
6
         <groupId>com.ruoyi</groupId>
6
         <groupId>com.ruoyi</groupId>
7
         <artifactId>ruoyi-common</artifactId>
7
         <artifactId>ruoyi-common</artifactId>
8
-        <version>2.1.0</version>
8
+        <version>2.2.0</version>
9
     </parent>
9
     </parent>
10
     <modelVersion>4.0.0</modelVersion>
10
     <modelVersion>4.0.0</modelVersion>
11
     
11
     

+ 1 - 1
ruoyi-gateway/pom.xml

@@ -4,7 +4,7 @@
4
     <parent>
4
     <parent>
5
         <groupId>com.ruoyi</groupId>
5
         <groupId>com.ruoyi</groupId>
6
         <artifactId>ruoyi</artifactId>
6
         <artifactId>ruoyi</artifactId>
7
-        <version>2.1.0</version>
7
+        <version>2.2.0</version>
8
     </parent>
8
     </parent>
9
     <modelVersion>4.0.0</modelVersion>
9
     <modelVersion>4.0.0</modelVersion>
10
 
10
 

+ 1 - 1
ruoyi-modules/pom.xml

@@ -4,7 +4,7 @@
4
     <parent>
4
     <parent>
5
         <groupId>com.ruoyi</groupId>
5
         <groupId>com.ruoyi</groupId>
6
         <artifactId>ruoyi</artifactId>
6
         <artifactId>ruoyi</artifactId>
7
-        <version>2.1.0</version>
7
+        <version>2.2.0</version>
8
     </parent>
8
     </parent>
9
     <modelVersion>4.0.0</modelVersion>
9
     <modelVersion>4.0.0</modelVersion>
10
 
10
 

+ 1 - 1
ruoyi-modules/ruoyi-gen/pom.xml

@@ -5,7 +5,7 @@
5
     <parent>
5
     <parent>
6
         <groupId>com.ruoyi</groupId>
6
         <groupId>com.ruoyi</groupId>
7
         <artifactId>ruoyi-modules</artifactId>
7
         <artifactId>ruoyi-modules</artifactId>
8
-        <version>2.1.0</version>
8
+        <version>2.2.0</version>
9
     </parent>
9
     </parent>
10
     <modelVersion>4.0.0</modelVersion>
10
     <modelVersion>4.0.0</modelVersion>
11
 
11
 

+ 1 - 1
ruoyi-modules/ruoyi-job/pom.xml

@@ -5,7 +5,7 @@
5
     <parent>
5
     <parent>
6
         <groupId>com.ruoyi</groupId>
6
         <groupId>com.ruoyi</groupId>
7
         <artifactId>ruoyi-modules</artifactId>
7
         <artifactId>ruoyi-modules</artifactId>
8
-        <version>2.1.0</version>
8
+        <version>2.2.0</version>
9
     </parent>
9
     </parent>
10
     <modelVersion>4.0.0</modelVersion>
10
     <modelVersion>4.0.0</modelVersion>
11
 
11
 

+ 1 - 1
ruoyi-modules/ruoyi-system/pom.xml

@@ -5,7 +5,7 @@
5
     <parent>
5
     <parent>
6
         <groupId>com.ruoyi</groupId>
6
         <groupId>com.ruoyi</groupId>
7
         <artifactId>ruoyi-modules</artifactId>
7
         <artifactId>ruoyi-modules</artifactId>
8
-        <version>2.1.0</version>
8
+        <version>2.2.0</version>
9
     </parent>
9
     </parent>
10
     <modelVersion>4.0.0</modelVersion>
10
     <modelVersion>4.0.0</modelVersion>
11
 	
11
 	

+ 1 - 1
ruoyi-ui/package.json

@@ -1,6 +1,6 @@
1
 {
1
 {
2
   "name": "ruoyi",
2
   "name": "ruoyi",
3
-  "version": "2.1.0",
3
+  "version": "2.2.0",
4
   "description": "若依管理系统",
4
   "description": "若依管理系统",
5
   "author": "若依",
5
   "author": "若依",
6
   "license": "MIT",
6
   "license": "MIT",

+ 1 - 1
ruoyi-visual/pom.xml

@@ -4,7 +4,7 @@
4
     <parent>
4
     <parent>
5
         <groupId>com.ruoyi</groupId>
5
         <groupId>com.ruoyi</groupId>
6
         <artifactId>ruoyi</artifactId>
6
         <artifactId>ruoyi</artifactId>
7
-        <version>2.1.0</version>
7
+        <version>2.2.0</version>
8
     </parent>
8
     </parent>
9
     <modelVersion>4.0.0</modelVersion>
9
     <modelVersion>4.0.0</modelVersion>
10
 
10
 

+ 1 - 1
ruoyi-visual/ruoyi-monitor/pom.xml

@@ -4,7 +4,7 @@
4
     <parent>
4
     <parent>
5
         <groupId>com.ruoyi</groupId>
5
         <groupId>com.ruoyi</groupId>
6
         <artifactId>ruoyi-visual</artifactId>
6
         <artifactId>ruoyi-visual</artifactId>
7
-        <version>2.1.0</version>
7
+        <version>2.2.0</version>
8
     </parent>
8
     </parent>
9
     <modelVersion>4.0.0</modelVersion>
9
     <modelVersion>4.0.0</modelVersion>
10
 	
10