Sfoglia il codice sorgente

修正代码生成导入表权限标识

RuoYi 5 anni fa
parent
commit
b48e6fb19a

+ 0 - 6
ruoyi-auth/pom.xml

@@ -45,12 +45,6 @@
45 45
             <groupId>org.springframework.boot</groupId>
46 46
             <artifactId>spring-boot-starter-actuator</artifactId>
47 47
         </dependency>
48
-        
49
-        <!-- Mysql Connector -->
50
-        <dependency>
51
-            <groupId>mysql</groupId>
52
-            <artifactId>mysql-connector-java</artifactId>
53
-        </dependency>
54 48
 		
55 49
         <!-- RuoYi Common Security-->
56 50
         <dependency>

+ 1 - 1
ruoyi-modules/ruoyi-gen/src/main/java/com/ruoyi/gen/controller/GenController.java

@@ -100,7 +100,7 @@ public class GenController extends BaseController
100 100
     /**
101 101
      * 导入表结构(保存)
102 102
      */
103
-    @PreAuthorize(hasPermi = "tool:gen:list")
103
+    @PreAuthorize(hasPermi = "tool:gen:import")
104 104
     @Log(title = "代码生成", businessType = BusinessType.IMPORT)
105 105
     @PostMapping("/importTable")
106 106
     public AjaxResult importTableSave(String tables)