Jelajahi Sumber

PUT和DEL请求修改

gao.qiang 1 tahun lalu
induk
melakukan
64ec9d7259

+ 1 - 1
hazard-admin/src/main/java/com/ozs/web/controller/system/SysRoleController.java

@@ -162,7 +162,7 @@ public class SysRoleController extends BaseController {
      */
     @PreAuthorize("@ss.hasPermi('system:role:edit')")
     @Log(title = "角色管理", businessType = BusinessType.UPDATE)
-    @RequestMapping
+    @RequestMapping("/edit")
     public AjaxResult edit(@Validated @RequestBody SysRole role) {
 //        roleService.checkRoleAllowed(role);
 //        roleService.checkRoleDataScope(role.getRoleId());