mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2026-01-19 20:28:12 +00:00
升级核心依赖
This commit is contained in:
parent
aa36c643ba
commit
fdbde23cbf
@ -14,9 +14,9 @@
|
|||||||
"jsonwebtoken": "^8.5.1",
|
"jsonwebtoken": "^8.5.1",
|
||||||
"md5": "^2.3.0",
|
"md5": "^2.3.0",
|
||||||
"midwayjs-cool-core": "^3.0.9",
|
"midwayjs-cool-core": "^3.0.9",
|
||||||
"midwayjs-cool-oss": "^1.0.5",
|
"midwayjs-cool-oss": "^1.0.9",
|
||||||
"midwayjs-cool-queue": "^1.0.1",
|
"midwayjs-cool-queue": "^1.0.2",
|
||||||
"midwayjs-cool-redis": "^1.0.1",
|
"midwayjs-cool-redis": "^1.0.5",
|
||||||
"mysql2": "^2.2.5",
|
"mysql2": "^2.2.5",
|
||||||
"svg-captcha": "^1.4.0",
|
"svg-captcha": "^1.4.0",
|
||||||
"svg-to-dataurl": "^1.0.0"
|
"svg-to-dataurl": "^1.0.0"
|
||||||
@ -67,4 +67,4 @@
|
|||||||
},
|
},
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
}
|
}
|
||||||
@ -6,6 +6,7 @@ import * as cool from 'midwayjs-cool-core';
|
|||||||
import * as oss from 'midwayjs-cool-oss';
|
import * as oss from 'midwayjs-cool-oss';
|
||||||
import * as redis from 'midwayjs-cool-redis';
|
import * as redis from 'midwayjs-cool-redis';
|
||||||
import * as queue from 'midwayjs-cool-queue';
|
import * as queue from 'midwayjs-cool-queue';
|
||||||
|
// import * as socket from 'midwayjs-cool-socket';
|
||||||
|
|
||||||
@Configuration({
|
@Configuration({
|
||||||
// 注意组件顺序 cool 有依赖orm组件, 所以必须放在,orm组件之后 cool的其他组件必须放在cool 核心组件之后
|
// 注意组件顺序 cool 有依赖orm组件, 所以必须放在,orm组件之后 cool的其他组件必须放在cool 核心组件之后
|
||||||
@ -20,6 +21,8 @@ import * as queue from 'midwayjs-cool-queue';
|
|||||||
redis,
|
redis,
|
||||||
// 队列
|
// 队列
|
||||||
queue,
|
queue,
|
||||||
|
// socket
|
||||||
|
//socket
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
export class ContainerLifeCycle implements ILifeCycle {
|
export class ContainerLifeCycle implements ILifeCycle {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user