Commit 5454e9a9 by chenjinjing

二期内容提交测试准备

parent 33f487e6
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -18,6 +18,7 @@
"moment": "^2.24.0",
"mongoose": "^5.4.0",
"mysql": "^2.18.1",
"node-schedule": "^2.1.1",
"node-xlsx": "^0.16.1",
"nodemailer": "^6.1.1",
"officegen": "^0.6.5",
......@@ -28,7 +29,6 @@
"ws": "^5.2.2",
"xml2js": "^0.4.23"
},
"devDependencies": {},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
......
<config>
<port>9099</port>
<sign>xxx90909082fsdahfjosadjfpoiwausjorip2hjklrhn1ioud0u124rx0qwejfokasjfolksaujfoas</sign>
<dbServer>http://192.168.0.71:40012</dbServer>
<dbServer>http://192.168.0.105:40012</dbServer>
</config>
\ No newline at end of file
......@@ -278,7 +278,9 @@ export enum MSGTYPE {
// 园区通知
园区公告 = 9,
活动通知 = 10
活动通知 = 10,
其他通知 = 100
};
......
import { initQuarterlyNotificationTask } from "./biz/massageNotice";
import { initConfig, systemConfig } from "./config/serverConfig";
import { httpServer } from "./net/http_server";
......@@ -6,6 +7,9 @@ async function lanuch() {
await initConfig();
httpServer.createServer(systemConfig.port);
console.log('This indicates that the server is started successfully.');
// 初始化季度消息定时任务
initQuarterlyNotificationTask();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment