forked from github/dataease
Merge pull request #13156 from dataease/pr@dev-v2@perf_share_exp_require
perf(仪表板): 分享-设置有效期必填后分享链接关闭有效期链接依然有效
This commit is contained in:
commit
86aa3302b5
@ -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) {
|
||||
|
2
de-xpack
2
de-xpack
@ -1 +1 @@
|
||||
Subproject commit 9a630a5137e745d74b01ca5e8551a7308feacbad
|
||||
Subproject commit 75e1765cbebf599bcb3ee609ec445a9cd062633a
|
Loading…
Reference in New Issue
Block a user