Commit c3327ac7 authored by 赵啸非's avatar 赵啸非

添加自定义导入

parent d873402e
......@@ -106,6 +106,9 @@ public class MessageServiceImpl implements MessageService {
try {
encryptContent = encryptSM4(req.getPassword(), dataJson.toJSONString());
log.info("加密后的数据:{}", encryptContent);
String decrypt = decrypt(req.getPassword(), encryptContent);
log.info("解密后的数据:{}", decrypt);
bizJson.put("data", encryptContent);
} catch (Exception e) {
throw new AppException(e + "数据sm4加密错误");
......
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