diff --git a/package.json b/package.json index 407b476..9fba214 100755 --- a/package.json +++ b/package.json @@ -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" -} +} \ No newline at end of file diff --git a/src/configuration.ts b/src/configuration.ts index 9c123c3..255ca76 100644 --- a/src/configuration.ts +++ b/src/configuration.ts @@ -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 {