|
|
@@ -297,6 +297,11 @@ public class SettingsService {
|
|
|
return ResultVoUtil.success(ExceptionEnum.SUCCESS_AND_NOTIFICATION);
|
|
|
}
|
|
|
|
|
|
+ public ResultVo<String> resetPasswordByCode(String code) {
|
|
|
+ dao.resetPassword(code);
|
|
|
+ return ResultVoUtil.fail(ExceptionEnum.SUCCESS_AND_NOTIFICATION);
|
|
|
+ }
|
|
|
+
|
|
|
private UserInfo getEmployeeOriginalInformation(String code) {
|
|
|
IPage<UserInfo> page = new Page<>(1, 1, false);
|
|
|
QueryWrapper<?> qw = new QueryWrapper<>();
|