mirror of
https://gitee.com/yudaocode/yudao-boot-mini.git
synced 2026-03-22 05:27:15 +08:00
【同步】jdk21 和 jdk8 的代码
This commit is contained in:
8
pom.xml
8
pom.xml
@@ -57,14 +57,6 @@
|
|||||||
<type>pom</type>
|
<type>pom</type>
|
||||||
<scope>import</scope>
|
<scope>import</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- 强制指定quartz版本 -->
|
|
||||||
<!-- TODO @芋艿:临时兼容 spring boot 3.x 的 quartz 引入版本过低的问题,后续要调整下 -->
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.quartz-scheduler</groupId>
|
|
||||||
<artifactId>quartz</artifactId>
|
|
||||||
<version>2.5.2</version>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</dependencyManagement>
|
</dependencyManagement>
|
||||||
|
|
||||||
|
|||||||
@@ -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")
|
||||||
|
|||||||
@@ -15,7 +15,6 @@ import org.springframework.scheduling.quartz.QuartzJobBean;
|
|||||||
|
|
||||||
import javax.annotation.Resource;
|
import javax.annotation.Resource;
|
||||||
import java.time.LocalDateTime;
|
import java.time.LocalDateTime;
|
||||||
import java.time.temporal.ChronoUnit;
|
|
||||||
|
|
||||||
import static cn.hutool.core.exceptions.ExceptionUtil.getRootCauseMessage;
|
import static cn.hutool.core.exceptions.ExceptionUtil.getRootCauseMessage;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user