Browse Source

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

tags/v3.0.0
RuoYi 4 years ago
parent
commit
b48e6fb19a
  1. 6
      ruoyi-auth/pom.xml
  2. 2
      ruoyi-modules/ruoyi-gen/src/main/java/com/ruoyi/gen/controller/GenController.java

6
ruoyi-auth/pom.xml

@ -45,12 +45,6 @@ @@ -45,12 +45,6 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<!-- Mysql Connector -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
</dependency>
<!-- RuoYi Common Security-->
<dependency>

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

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

Loading…
Cancel
Save