Explorar o código

新生账号激活bug修复

dzx hai 4 meses
pai
achega
65e8ceefc8

+ 1 - 0
src/main/java/com/xjrsoft/module/student/controller/BaseNewStudentController.java

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