java doc fix

This commit is contained in:
paulch 2024-06-27 11:31:25 +08:00
parent 87633e2062
commit 4881d1448e
4 changed files with 27 additions and 27 deletions

View File

@ -14,7 +14,7 @@ public class Base64Utils {
* @param source 原始 Base64 字符串
* @return decoded string
*
* aHR0cHM6Ly9maWxlLmtla2luZy5jbi9kZW1vL%2BS4reaWhy5wcHR4 -> https://file.keking.cn/demo/%E4%B8%AD%E6%96%87.pptx -> https://file.keking.cn/demo/中文.pptx
* aHR0cHM6Ly9maWxlLmtla2luZy5jbi9kZW1vL%2BS4reaWhy5wcHR4 解码为 https://file.keking.cn/demo/%E4%B8%AD%E6%96%87.pptx 再解码为 https://file.keking.cn/demo/中文.pptx
*/
public static String decodeUrl(String source) {
String url = decodeBase64String(source, StandardCharsets.UTF_8);

View File

@ -163,7 +163,7 @@ public class DateUtils extends org.apache.commons.lang3.time.DateUtils
}
/**
* 增加 LocalDateTime ==> Date
* 增加 LocalDateTime to Date
*/
public static Date toDate(LocalDateTime temporalAccessor)
{
@ -172,7 +172,7 @@ public class DateUtils extends org.apache.commons.lang3.time.DateUtils
}
/**
* 增加 LocalDate ==> Date
* 增加 LocalDate 转成 Date
*/
public static Date toDate(LocalDate temporalAccessor)
{

View File

@ -25,6 +25,7 @@ public class BaseController
/**
* 将前台传递过来的日期格式的字符串自动转化为Date类型
* @param binder 用于数据绑定的 WebDataBinder 对象
*/
@InitBinder
public void initBinder(WebDataBinder binder)

View File

@ -118,7 +118,6 @@ public class AuthLogic
* 验证用户是否具备某权限, 如果验证未通过则抛出异常: NotPermissionException
*
* @param permission 权限字符串
* @return 用户是否具备某权限
*/
public void checkPermi(String permission)
{