Przeglądaj źródła

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

RuoYi 5 lat temu
rodzic
commit
b48e6fb19a

+ 0 - 6
ruoyi-auth/pom.xml

@@ -45,12 +45,6 @@
45
             <groupId>org.springframework.boot</groupId>
45
             <groupId>org.springframework.boot</groupId>
46
             <artifactId>spring-boot-starter-actuator</artifactId>
46
             <artifactId>spring-boot-starter-actuator</artifactId>
47
         </dependency>
47
         </dependency>
48
-        
49
-        <!-- Mysql Connector -->
50
-        <dependency>
51
-            <groupId>mysql</groupId>
52
-            <artifactId>mysql-connector-java</artifactId>
53
-        </dependency>
54
 		
48
 		
55
         <!-- RuoYi Common Security-->
49
         <!-- RuoYi Common Security-->
56
         <dependency>
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
     @Log(title = "代码生成", businessType = BusinessType.IMPORT)
104
     @Log(title = "代码生成", businessType = BusinessType.IMPORT)
105
     @PostMapping("/importTable")
105
     @PostMapping("/importTable")
106
     public AjaxResult importTableSave(String tables)
106
     public AjaxResult importTableSave(String tables)