mirror of
https://github.com/zfile-dev/zfile.git
synced 2025-04-19 05:34:52 +00:00
✏️ 优化提示信息
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user