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

This commit is contained in:
RuoYi
2021-06-18 16:32:55 +08:00
committed by 疯狂的狮子li
parent d18f9c9123
commit a5ce3153d5
2 changed files with 1 additions and 7 deletions
-6
View File
@@ -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>
@@ -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)