修正md5方法调用

This commit is contained in:
shuzheng 2017-11-11 17:02:58 +08:00
parent ad69818d0a
commit ac0f68031b
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ public class UpmsUserController extends BaseController {
long time = System.currentTimeMillis();
String salt = UUID.randomUUID().toString().replaceAll("-", "");
upmsUser.setSalt(salt);
upmsUser.setPassword(MD5Util.MD5(upmsUser.getPassword() + upmsUser.getSalt()));
upmsUser.setPassword(MD5Util.md5(upmsUser.getPassword() + upmsUser.getSalt()));
upmsUser.setCtime(time);
upmsUser = upmsUserService.createUser(upmsUser);
if (null == upmsUser) {