提交 de25e817 作者: 洪东保

debug-保存纪要内容加密

父级 f842eb86
......@@ -153,8 +153,9 @@ public class MeetingInfoServiceImpl extends ServiceImpl<MeetingInfoMapper, Meeti
//前端的表单json转xml,xml格式的纪要内容便于生成会议纪要文件
String recordJson = vo.getRecordJson();
String recordXml = convertJSONToXml(recordJson);
String key = vo.getMeetingId() + "-recordXmlPath-" + IdUtil.fastSimpleUUID() + ".xml";
minioUtils.upload(key,recordXml.getBytes(StandardCharsets.UTF_8));
String encrypt = AESUtils.encrypt(recordXml, aesKey);
String key = String.format("%s/%s", DateUtil.today(), vo.getMeetingId() + "-recordXmlPath-" + IdUtil.fastSimpleUUID() + ".xml");
minioUtils.upload(key, encrypt.getBytes(StandardCharsets.UTF_8));
vo.setRecordXml(key);
LambdaUpdateWrapper<MeetingInfo> updateWrapper = new LambdaUpdateWrapper<>();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论