升级核心依赖

This commit is contained in:
ap 2021-03-07 11:51:34 +08:00
parent aa36c643ba
commit fdbde23cbf
2 changed files with 7 additions and 4 deletions

View File

@ -14,9 +14,9 @@
"jsonwebtoken": "^8.5.1",
"md5": "^2.3.0",
"midwayjs-cool-core": "^3.0.9",
"midwayjs-cool-oss": "^1.0.5",
"midwayjs-cool-queue": "^1.0.1",
"midwayjs-cool-redis": "^1.0.1",
"midwayjs-cool-oss": "^1.0.9",
"midwayjs-cool-queue": "^1.0.2",
"midwayjs-cool-redis": "^1.0.5",
"mysql2": "^2.2.5",
"svg-captcha": "^1.4.0",
"svg-to-dataurl": "^1.0.0"
@ -67,4 +67,4 @@
},
"author": "",
"license": "MIT"
}
}

View File

@ -6,6 +6,7 @@ import * as cool from 'midwayjs-cool-core';
import * as oss from 'midwayjs-cool-oss';
import * as redis from 'midwayjs-cool-redis';
import * as queue from 'midwayjs-cool-queue';
// import * as socket from 'midwayjs-cool-socket';
@Configuration({
// 注意组件顺序 cool 有依赖orm组件 所以必须放在orm组件之后 cool的其他组件必须放在cool 核心组件之后
@ -20,6 +21,8 @@ import * as queue from 'midwayjs-cool-queue';
redis,
// 队列
queue,
// socket
//socket
],
})
export class ContainerLifeCycle implements ILifeCycle {