Merge pull request #13156 from dataease/pr@dev-v2@perf_share_exp_require

perf(仪表板): 分享-设置有效期必填后分享链接关闭有效期链接依然有效
This commit is contained in:
dataeaseShu 2024-11-06 12:01:29 +08:00 committed by GitHub
commit 86aa3302b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -199,7 +199,7 @@ public class XpackShareManage {
if (ObjectUtils.isEmpty(sharedBase) || !sharedBase.isPeRequire()) return true;
Long exp = share.getExp();
String pwd = share.getPwd();
return StringUtils.isNotBlank(pwd) && ObjectUtils.isNotEmpty(exp);
return StringUtils.isNotBlank(pwd) && ObjectUtils.isNotEmpty(exp) && exp > 0L;
}
public XpackShareProxyVO proxyInfo(XpackShareProxyRequest request) {

@ -1 +1 @@
Subproject commit 9a630a5137e745d74b01ca5e8551a7308feacbad
Subproject commit 75e1765cbebf599bcb3ee609ec445a9cd062633a