@RestController @RequestMapping(value="/ajax/base/user/") public class UserController extends BaseAjaxController<User>
| 构造器和说明 |
|---|
UserController() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
changePassword(Integer userId,
String newPassword)
直接从列表页面修改用户密码
|
boolean |
changePassword2(String password,
String newPassword,
String passwordConfirm) |
boolean |
delete(int id) |
boolean |
doAssign(UserRoleRel userRoleRel) |
UserService |
getService() |
int |
save(User entity) |
detailData, listresolveExceptionpublic int save(User entity)
save 在类中 BaseAjaxController<User>public boolean delete(@PathVariable
int id)
delete 在类中 BaseAjaxController<User>@PostMapping(value="doAssign") public boolean doAssign(UserRoleRel userRoleRel)
@PostMapping(value="changePasswordDirectly") public boolean changePassword(Integer userId, String newPassword)
userId - newPassword - @PostMapping(value="changePassword") public boolean changePassword2(String password, String newPassword, String passwordConfirm)
public UserService getService()
getService 在类中 BaseAjaxController<User>Copyright © 2022. All rights reserved.