|
|
@@ -74,6 +74,9 @@ public class LocalAppDoctorUserService extends BaseService<AppDoctorUserMapper,
|
|
|
if(StrUtil.isEmpty(source.getPassword())){
|
|
|
source.setPassword("123456");
|
|
|
}
|
|
|
+ if(source.getStatus()==null){
|
|
|
+ source.setStatus(StatusEnum.YES);
|
|
|
+ }
|
|
|
})
|
|
|
.peek(source->{
|
|
|
source.setPassword(SecurityUtil.encryptPassword(source.getPassword()));
|