fix 修复 内链域名特殊字符替换 合并错误导致问题

feature/model
疯狂的狮子li 2 years ago
parent 785c7495c1
commit 408155ff5c

@ -443,11 +443,9 @@ public class SysMenuServiceImpl implements ISysMenuService {
/** /**
* *
*
* @return
*/ */
public String innerLinkReplaceEach(String path) { public String innerLinkReplaceEach(String path) {
return StringUtils.replaceEach(path, new String[]{Constants.HTTP, Constants.HTTPS, Constants.WWW, "." }, return StringUtils.replaceEach(path, new String[]{Constants.HTTP, Constants.HTTPS, Constants.WWW, "."},
new String[]{"", ""}); new String[]{"", "", "", "/"});
} }
} }

Loading…
Cancel
Save