|
@@ -135,6 +135,7 @@ public class CompanyUserController extends BaseController {
|
|
|
/**
|
|
/**
|
|
|
* 获取用户列表
|
|
* 获取用户列表
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('company:user:deptList')")
|
|
|
@GetMapping("/deptList")
|
|
@GetMapping("/deptList")
|
|
|
public TableDataInfo deptList(CompanyUser user)
|
|
public TableDataInfo deptList(CompanyUser user)
|
|
|
{
|
|
{
|
|
@@ -160,7 +161,6 @@ public class CompanyUserController extends BaseController {
|
|
|
return getDataTable(list);
|
|
return getDataTable(list);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-
|
|
|
|
|
@GetMapping("/getUserList")
|
|
@GetMapping("/getUserList")
|
|
|
public R getUserList()
|
|
public R getUserList()
|
|
|
{
|
|
{
|
|
@@ -451,7 +451,7 @@ public class CompanyUserController extends BaseController {
|
|
|
/**
|
|
/**
|
|
|
* 重置密码
|
|
* 重置密码
|
|
|
*/
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('company:user:edit')")
|
|
|
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('company:user:resetPwd')")
|
|
|
@Log(title = "用户管理", businessType = BusinessType.UPDATE)
|
|
@Log(title = "用户管理", businessType = BusinessType.UPDATE)
|
|
|
@PutMapping("/resetPwd")
|
|
@PutMapping("/resetPwd")
|
|
|
public AjaxResult resetPwd(@RequestBody CompanyUser user)
|
|
public AjaxResult resetPwd(@RequestBody CompanyUser user)
|