Idea代码12月23日更新
This commit is contained in:
parent
435728c690
commit
db4538fa3c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue