master
冯凯 2023-10-27 12:08:19 +08:00
parent 1daa958e1e
commit cae7ca04f8
1 changed files with 0 additions and 2 deletions

View File

@ -176,7 +176,6 @@ public class SysUserController extends BaseController
@PostMapping("/register/doctor")
public Result<?> registerDoctor(@RequestBody Doctor doctor){
userService.checkEmail(doctor.getEmail());
Boolean flag = userService.registerDoctor(doctor);
return Result.success(userService.registerDoctor(doctor));
}
//-------------------------------------------------------------------------------
@ -184,7 +183,6 @@ public class SysUserController extends BaseController
@PostMapping("/register/patient")
public Result<?> registerPatient(@RequestBody Patient patient){
userService.checkEmail(patient.getEmail());
Boolean flag = userService.registerPatient(patient);
return Result.success(userService.registerPatient(patient));
}