app.js 345 B

1234567891011121314
  1. var express = require('express');
  2. var app = express();
  3. var router = express.Router();
  4. //引入工具类
  5. var logHelper = require("./helper/LjLogHelper.js");
  6. //根据不同的功能划分模块
  7. app.use('/lesson', require('./router/lesson'))
  8. //启动监听
  9. app.listen(8089, function ()
  10. {
  11. logHelper.info("WinBoxNode starting success");
  12. });