mirror of
https://github.com/zfile-dev/zfile.git
synced 2025-04-19 05:34:52 +00:00
♻️ 重构代码, 新增全局异常处理器, 优化类名
This commit is contained in:
@@ -24,6 +24,11 @@ public class StringUtils {
|
||||
return path;
|
||||
}
|
||||
|
||||
public static String concatURL(String path, String name) {
|
||||
return removeDuplicateSeparator("/" + path + "/" + name);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 将域名和路径组装成 URL, 主要用来处理分隔符 '/'
|
||||
* @param domain 域名
|
||||
|
||||
Reference in New Issue
Block a user