Merge pull request #12018 from dataease/pr@dev-v2@perf_share_ticket_exp

fix(仪表板): 分享链接ticket的有效期没有随着刷新ticket重置
This commit is contained in:
fit2cloud-chenyw 2024-09-04 17:58:31 +08:00 committed by GitHub
commit 05a8935bac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -55,7 +55,8 @@ public class ShareTicketManage {
ticketEntity.setArgs(creator.getArgs());
ticketEntity.setExp(creator.getExp());
ticketEntity.setUuid(creator.getUuid());
coreShareTicketMapper.updateById(ticketEntity);
coreShareTicketMapper.deleteById(ticketEntity);
coreShareTicketMapper.insert(ticketEntity);
return ticketEntity.getTicket();
}
}