注释掉很多之前为了兼容旧数据的脚本(数据量大会导致启动时耗时很久)
增加重置密码功能
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using dy.net.model.dto;
|
||||
using dy.net.model.entity;
|
||||
using dy.net.repository;
|
||||
using dy.net.utils;
|
||||
|
||||
namespace dy.net.service
|
||||
{
|
||||
@@ -40,5 +41,10 @@ namespace dy.net.service
|
||||
};
|
||||
return _userRepository.InitUser(userInfo);
|
||||
}
|
||||
|
||||
public bool ResetPwd(string pwd)
|
||||
{
|
||||
return _userRepository.ResetPwd(pwd);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user