【同步】BOOT 和 CLOUD 的功能
Some checks failed
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled

This commit is contained in:
YunaiV 2025-12-07 18:23:49 +08:00
parent 667cf9d1c9
commit 84834c7a65

View File

@ -44,8 +44,9 @@ public class HttpUtils {
* @param value 参数 * @param value 参数
* @return 解码后的参数 * @return 解码后的参数
*/ */
@SneakyThrows
public static String decodeUtf8(String value) { public static String decodeUtf8(String value) {
return URLDecoder.decode(value, StandardCharsets.UTF_8); return URLDecoder.decode(value, StandardCharsets.UTF_8.name());
} }
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")