|
|
@@ -109,8 +109,6 @@ public class WebInfoServiceImpl extends ServiceImpl<WebInfoMapper, WebInfo> impl
|
|
|
throw new IllegalArgumentException("账号已存在");
|
|
|
}
|
|
|
createRecord(webInfo.getPrefix());
|
|
|
- String encodePasscode = Codec.DoDigest.custom().setAlgorithm(Codec.DoDigest.Algorithm.SHA256).setStringData(webInfo.getPassword()).toBase64String();
|
|
|
- webInfo.setPassword(encodePasscode);
|
|
|
webInfoMapper.insert(webInfo);
|
|
|
return webInfo;
|
|
|
}
|