提交 ac0f6803 编写于 作者: shuzheng5201314's avatar shuzheng5201314

修正md5方法调用

上级 ad69818d
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册