摘要:
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... 阅读全文
摘要:
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... 阅读全文