mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2024-11-01 06:02:39 +08:00
添加本地定时任务
This commit is contained in:
parent
5023b904e2
commit
56d86f647e
@ -19,6 +19,7 @@
|
||||
"@midwayjs/orm": "^3.2.0",
|
||||
"@midwayjs/socketio": "^3.2.0",
|
||||
"@midwayjs/static-file": "^3.2.0",
|
||||
"@midwayjs/task": "^3.2.2",
|
||||
"@midwayjs/validate": "^3.2.0",
|
||||
"@midwayjs/view-ejs": "^3.2.0",
|
||||
"cfork": "^1.8.0",
|
||||
|
@ -8,6 +8,7 @@ import * as view from '@midwayjs/view-ejs';
|
||||
import * as orm from '@midwayjs/orm';
|
||||
import * as cool from '@cool-midway/core';
|
||||
import * as file from '@cool-midway/file';
|
||||
import * as localTask from '@midwayjs/task';
|
||||
// import * as socketio from '@midwayjs/socketio';
|
||||
// import * as task from '@cool-midway/task';
|
||||
// import * as pay from '@cool-midway/pay';
|
||||
@ -20,6 +21,8 @@ import * as file from '@cool-midway/file';
|
||||
koa,
|
||||
// 参数验证 http://midwayjs.org/docs/extensions/validate
|
||||
validate,
|
||||
// 本地任务 http://midwayjs.org/docs/extensions/task
|
||||
localTask,
|
||||
// 模板渲染 http://midwayjs.org/docs/extensions/render
|
||||
view,
|
||||
// 静态文件托管 http://midwayjs.org/docs/extensions/static_file
|
||||
|
Loading…
Reference in New Issue
Block a user