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,9 +98,10 @@ public class ApplyController { ...@@ -98,9 +98,10 @@ public class ApplyController {
pages = pages + 1; pages = pages + 1;
} }
List<AppVo> result = records.getResult(); List<AppVo> result = records.getResult();
String str = "n647dBvogC5ps9r0zePShkExRMGyIZlqFUuWNL1Qt8XVja3A";
for (AppVo u : result) { 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); return new PageResult(200, "查找成功", pageNo, pages, total, result);
} }
} }
\ No newline at end of file
...@@ -146,8 +146,9 @@ public class UserController { ...@@ -146,8 +146,9 @@ public class UserController {
pages = pages + 1; pages = pages + 1;
} }
List<UserVo> result = records.getResult(); List<UserVo> result = records.getResult();
String str = "uBtWZTiPMYkQLsp7rNly3RUIXKGqFbjnSg56H8ve49AC0mfO";
for (UserVo u : result) { 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); 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