【同步】BOOT 和 CLOUD 的功能
parent
667cf9d1c9
commit
84834c7a65
|
|
@ -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")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue