mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-05-09 00:39:36 +08:00
修改工具类
This commit is contained in:
@@ -157,7 +157,7 @@ public class ToolsUtil {
|
||||
}
|
||||
|
||||
/**
|
||||
* map合并(Object)
|
||||
* 对象类型Map合并
|
||||
*
|
||||
* @author fzr
|
||||
* @param map 对象
|
||||
@@ -171,7 +171,7 @@ public class ToolsUtil {
|
||||
}
|
||||
|
||||
/**
|
||||
* map合并(String)
|
||||
* 字符串类型Map合并
|
||||
*
|
||||
* @author fzr
|
||||
* @param map 对象
|
||||
|
||||
@@ -16,6 +16,8 @@ public class UrlUtil {
|
||||
|
||||
/**
|
||||
* 转绝对路径
|
||||
* 转前: uploads/11.png
|
||||
* 转后: https://127.0.0.1/uploads/11.png
|
||||
*
|
||||
* @author fzr
|
||||
* @param url 相对路径
|
||||
@@ -41,6 +43,8 @@ public class UrlUtil {
|
||||
|
||||
/**
|
||||
* 转相对路径
|
||||
* 转前: https://127.0.0.1/uploads/11.png
|
||||
* 转后: uploads/11.png
|
||||
*
|
||||
* @author fzr
|
||||
* @param url 绝对路径
|
||||
@@ -62,6 +66,7 @@ public class UrlUtil {
|
||||
|
||||
/**
|
||||
* 获取存储域名
|
||||
* 示例: https://127.0.0.1/
|
||||
*
|
||||
* @author fzr
|
||||
* @return String
|
||||
|
||||
Reference in New Issue
Block a user