摘要: 1 var express = require('express'); 2 var app = express(); 3 var server = require('http').Server(app); 4 var io = require('socket.io')(server); 5 var formidable = require('formidable'); 6... 阅读全文
posted @ 2017-08-03 21:38 Leur 阅读(296) 评论(0) 推荐(0) 编辑
摘要: 1 // 1. 引入 express 2 var express = require('express'); 3 var formidable = require('formidable'); 4 var mysql = require('mysql'); 5 var session = require('express-session'); 6 var cookiePa... 阅读全文
posted @ 2017-08-03 21:36 Leur 阅读(219) 评论(0) 推荐(0) 编辑