Commit a81b79c7 by ruyun.zhang

删除用户密码多余加密

parent 71a2eae8
......@@ -456,7 +456,6 @@ public UserResponse InsertUser(UserRequest request, int userid)
if (roleArray.Intersect(request.RoleArr).Any() && string.IsNullOrEmpty(request.Department))
throw new PerformanceException("二次绩效管理员科室不能为空");
//Md5小写加密
request.Password = PwdHelper.MD5AndSalt(request.Password);
var user = _mapper.Map<sys_user>(request);
user.CreateDate = DateTime.Now;
user.CreateUser = userid;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment