优化架构,新增路由
This commit is contained in:
1 parent
ba9ca43729
commit
264ab8d979
22 files changed
+161
-60
No files matched your search
@@ -2,11 +2,11 @@
|
||||
// 定时任务
|
||||
module.exports = {
|
||||
time: {
|
||||
cron: '0/5 * * * * ?',
|
||||
cron: '0/2 * * * * ?',
|
||||
// every: 2000,
|
||||
// limit: 100,
|
||||
},
|
||||
fun: (app) => {
|
||||
console.log("test",new Date());
|
||||
// console.log("test",new Date());
|
||||
}
|
||||
}
|
||||
@@ -2,11 +2,11 @@
|
||||
// 定时任务
|
||||
module.exports = {
|
||||
time: {
|
||||
cron: '0/5 * * * * ?',
|
||||
cron: '0/2 * * * * ?',
|
||||
// every: 2000,
|
||||
// limit: 100,
|
||||
},
|
||||
fun: (app) => {
|
||||
console.log("test2",new Date());
|
||||
// console.log("test2",new Date());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user