|
@@ -46,11 +46,11 @@ public class UserController extends BaseController {
|
|
|
* 查询客户端用户列表
|
|
* 查询客户端用户列表
|
|
|
*/
|
|
*/
|
|
|
@ApiOperation("查询客户端用户列表")
|
|
@ApiOperation("查询客户端用户列表")
|
|
|
- @PreAuthorize("@ss.hasPermi('system:user:list')")
|
|
|
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('app:user:list')")
|
|
|
@GetMapping("/list")
|
|
@GetMapping("/list")
|
|
|
public TableDataInfo<UserVo> list(UserQueryBo bo) {
|
|
public TableDataInfo<UserVo> list(UserQueryBo bo) {
|
|
|
startPage();
|
|
startPage();
|
|
|
- List<UserVo> list = iUserService.queryList(bo);
|
|
|
|
|
|
|
+ List<UserVo> list = iUserService.selectList(bo);
|
|
|
return getDataTable(list);
|
|
return getDataTable(list);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -58,7 +58,7 @@ public class UserController extends BaseController {
|
|
|
* 导出客户端用户列表
|
|
* 导出客户端用户列表
|
|
|
*/
|
|
*/
|
|
|
@ApiOperation("导出客户端用户列表")
|
|
@ApiOperation("导出客户端用户列表")
|
|
|
- @PreAuthorize("@ss.hasPermi('system:user:export')")
|
|
|
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('app:user:export')")
|
|
|
@Log(title = "客户端用户", businessType = BusinessType.EXPORT)
|
|
@Log(title = "客户端用户", businessType = BusinessType.EXPORT)
|
|
|
@GetMapping("/export")
|
|
@GetMapping("/export")
|
|
|
public AjaxResult<UserVo> export(UserQueryBo bo) {
|
|
public AjaxResult<UserVo> export(UserQueryBo bo) {
|
|
@@ -71,7 +71,7 @@ public class UserController extends BaseController {
|
|
|
* 获取客户端用户详细信息
|
|
* 获取客户端用户详细信息
|
|
|
*/
|
|
*/
|
|
|
@ApiOperation("获取客户端用户详细信息")
|
|
@ApiOperation("获取客户端用户详细信息")
|
|
|
- @PreAuthorize("@ss.hasPermi('system:user:query')")
|
|
|
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('app:user:query')")
|
|
|
@GetMapping("/{userId}")
|
|
@GetMapping("/{userId}")
|
|
|
public AjaxResult<UserVo> getInfo(@PathVariable("userId" ) Long userId) {
|
|
public AjaxResult<UserVo> getInfo(@PathVariable("userId" ) Long userId) {
|
|
|
return AjaxResult.success(iUserService.queryById(userId));
|
|
return AjaxResult.success(iUserService.queryById(userId));
|
|
@@ -81,7 +81,7 @@ public class UserController extends BaseController {
|
|
|
* 新增客户端用户
|
|
* 新增客户端用户
|
|
|
*/
|
|
*/
|
|
|
@ApiOperation("新增客户端用户")
|
|
@ApiOperation("新增客户端用户")
|
|
|
- @PreAuthorize("@ss.hasPermi('system:user:add')")
|
|
|
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('app:user:add')")
|
|
|
@Log(title = "客户端用户", businessType = BusinessType.INSERT)
|
|
@Log(title = "客户端用户", businessType = BusinessType.INSERT)
|
|
|
@PostMapping()
|
|
@PostMapping()
|
|
|
public AjaxResult<Void> add(@RequestBody UserAddBo bo) {
|
|
public AjaxResult<Void> add(@RequestBody UserAddBo bo) {
|
|
@@ -92,7 +92,7 @@ public class UserController extends BaseController {
|
|
|
* 修改客户端用户
|
|
* 修改客户端用户
|
|
|
*/
|
|
*/
|
|
|
@ApiOperation("修改客户端用户")
|
|
@ApiOperation("修改客户端用户")
|
|
|
- @PreAuthorize("@ss.hasPermi('system:user:edit')")
|
|
|
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('app:user:edit')")
|
|
|
@Log(title = "客户端用户", businessType = BusinessType.UPDATE)
|
|
@Log(title = "客户端用户", businessType = BusinessType.UPDATE)
|
|
|
@PostMapping("/edit")
|
|
@PostMapping("/edit")
|
|
|
public AjaxResult<Void> edit(@RequestBody UserEditBo bo) throws IllegalAccessException {
|
|
public AjaxResult<Void> edit(@RequestBody UserEditBo bo) throws IllegalAccessException {
|
|
@@ -103,7 +103,7 @@ public class UserController extends BaseController {
|
|
|
* 删除客户端用户
|
|
* 删除客户端用户
|
|
|
*/
|
|
*/
|
|
|
@ApiOperation("删除客户端用户")
|
|
@ApiOperation("删除客户端用户")
|
|
|
- @PreAuthorize("@ss.hasPermi('system:user:remove')")
|
|
|
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('app:user:remove')")
|
|
|
@Log(title = "客户端用户" , businessType = BusinessType.DELETE)
|
|
@Log(title = "客户端用户" , businessType = BusinessType.DELETE)
|
|
|
@PostMapping("/delete")
|
|
@PostMapping("/delete")
|
|
|
public AjaxResult<Void> remove(@PathVariable Long[] userIds) {
|
|
public AjaxResult<Void> remove(@PathVariable Long[] userIds) {
|