This commit is contained in:
张成
2025-12-19 21:53:39 +08:00
parent bccd2d31d2
commit abe2ae3c3a
6 changed files with 293 additions and 326 deletions

4
app.js
View File

@@ -6,7 +6,6 @@
const frameworkConfig = require('./config/framework.config.js') const frameworkConfig = require('./config/framework.config.js')
const Framework = require('./framework/node-core-framework.js'); const Framework = require('./framework/node-core-framework.js');
const schedule = require('./api/middleware/schedule/index.js'); const schedule = require('./api/middleware/schedule/index.js');
const redis = require('./api/middleware/redis_proxy.js');
// 启动应用 // 启动应用
async function startApp() { async function startApp() {
@@ -15,6 +14,9 @@ async function startApp() {
console.log('🚀 正在启动自动化找工作系统...'); console.log('🚀 正在启动自动化找工作系统...');
console.log('='.repeat(50)); console.log('='.repeat(50));
// 创建框架实例 // 创建框架实例
const framework = await Framework.init(frameworkConfig); const framework = await Framework.init(frameworkConfig);

View File

@@ -29,7 +29,7 @@ module.exports = {
redis: { redis: {
"host": "192.144.167.231", "host": "192.144.167.231",
"port": "6379", "port": "6379",
"pwd": "zc123" "pwd": "zc123",
}, },
oos: { oos: {
"accessKeyId": "LTAI5tENEdLxFU7Ne9wGazsk", "accessKeyId": "LTAI5tENEdLxFU7Ne9wGazsk",

View File

@@ -93,7 +93,12 @@ module.exports = {
// Redis 配置 // Redis 配置
redis: baseConfig.redis || null, redis: {
"host": "192.144.167.231",
"port": "6379",
"pwd": "zc123",
},
// 模型路径 // 模型路径
modelPaths: './api/model', modelPaths: './api/model',

File diff suppressed because one or more lines are too long

600
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -30,7 +30,7 @@
"node-schedule": "latest", "node-schedule": "latest",
"nodemailer": "^6.9.7", "nodemailer": "^6.9.7",
"node-uuid": "^1.4.8", "node-uuid": "^1.4.8",
"redis": "^5.8.3", "redis": "^3.0.2",
"sequelize": "^5.22.5", "sequelize": "^5.22.5",
"swagger-jsdoc": "^6.2.8", "swagger-jsdoc": "^6.2.8",
"uuid": "^8.3.2", "uuid": "^8.3.2",