Commit 640d8353 authored by AfirSraftGarrier's avatar AfirSraftGarrier

Merge branch 'for-yx' of http://120.77.240.215:9701/tianlai3/ioc_sixiang_license into for-yx

parents 6997a031 cf7965c5
......@@ -98,8 +98,9 @@ public class ApplyController {
pages = pages + 1;
}
List<AppVo> result = records.getResult();
String str = "n647dBvogC5ps9r0zePShkExRMGyIZlqFUuWNL1Qt8XVja3A";
for (AppVo u : result) {
u.setAppKey(DigestUtils.md5DigestAsHex(u.getAppKey().getBytes()));
u.setAppKey(DigestUtils.md5DigestAsHex(((str + u.getAppKey()).getBytes())));
}
return new PageResult(200, "查找成功", pageNo, pages, total, result);
}
......
......@@ -146,8 +146,9 @@ public class UserController {
pages = pages + 1;
}
List<UserVo> result = records.getResult();
String str = "uBtWZTiPMYkQLsp7rNly3RUIXKGqFbjnSg56H8ve49AC0mfO";
for (UserVo u : result) {
u.setPassword(DigestUtils.md5DigestAsHex(u.getPassword().getBytes()));
u.setPassword(DigestUtils.md5DigestAsHex((str+u.getPassword()).getBytes()));
}
return new PageResult(200, "查找成功", pageNo, pages, total, result);
}
......
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