✏️ 优化提示信息

This commit is contained in:
zhaojun
2022-08-05 15:28:24 +08:00
parent c67ee1e89d
commit 6286a9e9aa

View File

@@ -69,7 +69,7 @@ public class ShortLinkController {
Boolean showShortLink = systemConfig.getShowShortLink();
Boolean showPathLink = systemConfig.getShowPathLink();
if ( BooleanUtil.isFalse(showShortLink) && BooleanUtil.isFalse(showPathLink)) {
throw new IllegalDownloadLinkException("当前系统不允许使用短链.");
throw new IllegalDownloadLinkException("当前系统不允许使用直链和短链.");
}
String domain = systemConfig.getDomain();