1
This commit is contained in:
4
app.js
4
app.js
@@ -6,7 +6,6 @@
|
||||
const frameworkConfig = require('./config/framework.config.js')
|
||||
const Framework = require('./framework/node-core-framework.js');
|
||||
const schedule = require('./api/middleware/schedule/index.js');
|
||||
const redis = require('./api/middleware/redis_proxy.js');
|
||||
|
||||
// 启动应用
|
||||
async function startApp() {
|
||||
@@ -15,6 +14,9 @@ async function startApp() {
|
||||
console.log('🚀 正在启动自动化找工作系统...');
|
||||
console.log('='.repeat(50));
|
||||
|
||||
|
||||
|
||||
|
||||
// 创建框架实例
|
||||
const framework = await Framework.init(frameworkConfig);
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ module.exports = {
|
||||
redis: {
|
||||
"host": "192.144.167.231",
|
||||
"port": "6379",
|
||||
"pwd": "zc123"
|
||||
"pwd": "zc123",
|
||||
},
|
||||
oos: {
|
||||
"accessKeyId": "LTAI5tENEdLxFU7Ne9wGazsk",
|
||||
|
||||
@@ -93,7 +93,12 @@ module.exports = {
|
||||
|
||||
|
||||
// Redis 配置
|
||||
redis: baseConfig.redis || null,
|
||||
redis: {
|
||||
"host": "192.144.167.231",
|
||||
"port": "6379",
|
||||
"pwd": "zc123",
|
||||
|
||||
},
|
||||
|
||||
// 模型路径
|
||||
modelPaths: './api/model',
|
||||
|
||||
File diff suppressed because one or more lines are too long
600
package-lock.json
generated
600
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -30,7 +30,7 @@
|
||||
"node-schedule": "latest",
|
||||
"nodemailer": "^6.9.7",
|
||||
"node-uuid": "^1.4.8",
|
||||
"redis": "^5.8.3",
|
||||
"redis": "^3.0.2",
|
||||
"sequelize": "^5.22.5",
|
||||
"swagger-jsdoc": "^6.2.8",
|
||||
"uuid": "^8.3.2",
|
||||
|
||||
Reference in New Issue
Block a user