|
@@ -215,6 +215,7 @@ public class BaseNewStudentController {
|
|
@ApiOperation(value = "激活账号")
|
|
@ApiOperation(value = "激活账号")
|
|
public RT<Boolean> activeAccount(@Valid @RequestBody ActiveAccountDto dto) {
|
|
public RT<Boolean> activeAccount(@Valid @RequestBody ActiveAccountDto dto) {
|
|
User user = userService.getById(dto.getId());
|
|
User user = userService.getById(dto.getId());
|
|
|
|
+ user.setMobile(dto.getMobile());
|
|
user.setEnabledMark(EnabledMark.ENABLED.getCode());
|
|
user.setEnabledMark(EnabledMark.ENABLED.getCode());
|
|
user.setModifyDate(LocalDateTime.now());
|
|
user.setModifyDate(LocalDateTime.now());
|
|
userService.updateById(user);
|
|
userService.updateById(user);
|