Commit e36573b8 by chenjinjing

no message

parent c94be84a
import { initConfig, systemConfig } from "./config/serverConfig";
import { initInterfaceData } from "./data/interface/cronJob"; import { initInterfaceData } from "./data/interface/cronJob";
import { httpServer } from "./net/http_server"; import { httpServer } from "./net/http_server";
import { initConfig, port } from "./config/serverConfig";
async function lanuch() { async function lanuch() {
test(); test();
await initConfig(); await initConfig();
// initInterfaceData(); // initInterfaceData();
httpServer.createServer( port ); httpServer.createServer( systemConfig.port );
console.log('This indicates that the server is started successfully.'); console.log('This indicates that the server is started successfully.');
} }
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* *
*/ */
import { ERRORENUM } from "../config/enum/errorEnum"; import { ERRORENUM } from "../config/errorEnum";
import { BizError } from "../util/bizError"; import { BizError } from "../util/bizError";
......
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