紧急修复无法修改个人信息的错误,以及无法设置密保问题的错误

This commit is contained in:
2018-04-27 12:33:18 +08:00
parent 91b94e564f
commit b827bc24ce
14 changed files with 50 additions and 38 deletions

View File

@@ -130,6 +130,7 @@ public class DataController {
*/
@PostMapping("/home/adduserque")
public boolean adduserque(TbUserque userque) throws Exception {
System.out.println("【问题】"+userque.toString());
//对密保问题加密存储
userque.setAnswer(new BigInteger(CodingUtil.encryptSHA(userque.getAnswer().getBytes())).toString(32));
return userService.addUserQue(userque);