Idea代码12月23日更新

This commit is contained in:
Levi 2024-12-23 14:02:32 +08:00
parent 435728c690
commit db4538fa3c
1 changed files with 4 additions and 2 deletions

View File

@ -74,7 +74,8 @@ public class PersonController extends BaseController
/**
* 新增用户信息
*/
@PreAuthorize("@ss.hasPermi('system:person:add')")
// @PreAuthorize("@ss.hasPermi('system:person:add')")
@Anonymous
@Log(title = "用户信息", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody Person person)
@ -85,7 +86,8 @@ public class PersonController extends BaseController
/**
* 修改用户信息
*/
@PreAuthorize("@ss.hasPermi('system:person:edit')")
// @PreAuthorize("@ss.hasPermi('system:person:edit')")
@Anonymous
@Log(title = "用户信息", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody Person person)