Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Eladmin
Commits
e37d485b
Commit
e37d485b
authored
May 20, 2022
by
Zheng Jie
Browse files
update
parent
f78adec4
Changes
4
Hide whitespace changes
Inline
Side-by-side
eladmin-system/src/main/java/me/zhengjie/modules/quartz/config/JobRunner.java
View file @
e37d485b
...
...
@@ -24,7 +24,6 @@ import org.slf4j.LoggerFactory;
import
org.springframework.boot.ApplicationArguments
;
import
org.springframework.boot.ApplicationRunner
;
import
org.springframework.stereotype.Component
;
import
java.util.List
;
/**
...
...
@@ -45,9 +44,8 @@ public class JobRunner implements ApplicationRunner {
*/
@Override
public
void
run
(
ApplicationArguments
applicationArguments
)
{
log
.
info
(
"--------------------注入系统定时任务------------------"
);
List
<
QuartzJob
>
quartzJobs
=
quartzJobRepository
.
findByIsPauseIsFalse
();
quartzJobs
.
forEach
(
quartzManage:
:
addJob
);
log
.
info
(
"
--------------------定时任务注入完成------------------
"
);
log
.
info
(
"
Timing task injection complete
"
);
}
}
eladmin-system/src/main/java/me/zhengjie/modules/quartz/task/TestTask.java
View file @
e37d485b
...
...
@@ -16,7 +16,6 @@
package
me.zhengjie.modules.quartz.task
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.scheduling.annotation.Async
;
import
org.springframework.stereotype.Component
;
/**
...
...
@@ -25,7 +24,6 @@ import org.springframework.stereotype.Component;
* @date 2019-01-08
*/
@Slf4j
@Async
@Component
public
class
TestTask
{
...
...
eladmin-system/src/main/resources/banner.txt
View file @
e37d485b
...
...
@@ -5,4 +5,4 @@
| __| | | (_| | (_| | | | | | | | | | |
\___|_| \__,_|\__,_|_| |_| |_|_|_| |_|
:: Spring Boot :: (v2.1.0.RELEASE)
\ No newline at end of file
:: Spring Boot :: (v2.2.10.RELEASE)
\ No newline at end of file
eladmin-system/src/main/resources/config/application-prod.yml
View file @
e37d485b
...
...
@@ -93,7 +93,7 @@ jwt:
# IP 本地解析
ip
:
local-parsing
:
fals
e
local-parsing
:
tru
e
#是否允许生成代码,生产环境设置为false
generator
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment