@ -16,7 +16,7 @@ spring:
snail-job:
enabled: true
# 需要在 SnailJob 后台组管理创建对应名称的组,然后创建任务的时候选择对应的组,才能正确分派任务
group-name: "ruoyi_group"
group: "ruoyi_group"
# SnailJob 接入验证令牌
token: "SJ_cKqBTPzCsWA3VyuCfFoccmuIEGXjr5KT"
server:
@ -33,7 +33,7 @@
<hutool.version>5.8.27</hutool.version>
<redisson.version>3.29.0</redisson.version>
<lock4j.version>2.2.7</lock4j.version>
<snailjob.version>1.0.0-beta1</snailjob.version>
<snailjob.version>1.0.0-beta2</snailjob.version>
<satoken.version>1.38.0</satoken.version>
<lombok.version>1.18.32</lombok.version>
<logstash.version>7.4</logstash.version>
@ -32,7 +32,7 @@ import java.util.List;
@EnableConfigurationProperties(SnailJobServerProperties.class)
@ConditionalOnProperty(prefix = "snail-job", name = "enabled", havingValue = "true")
@EnableScheduling
@EnableSnailJob(group = "${snail-job.group-name}")
@EnableSnailJob(group = "${snail-job.group}")
public class SnailJobConfig {
@Autowired