var express = require('express');
var path = require('path');
var favicon = require('serve-favicon');
var logger = require('morgan');
var cookieParser = require('cookie-parser');
var bodyParser = require('body-parser');
var app = global.app = express();

// view engine setup
//app.set('views', path.join(__dirname, 'views'));
//app.set('view engine', 'jade');

app.use(logger('dev'));
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({extended: false}));
app.use(cookieParser());
//app.use(express.static(path.join(__dirname, 'public')));

module.exports = app;

@@ -375,24 +375,27 @@
 er('dev'));%0A
+// 
 app.use(body
@@ -406,24 +406,27 @@
 er.json());%0A
+// 
 app.use(body
@@ -464,16 +464,126 @@
 lse%7D));%0A
+%0Aapp.use(bodyParser.json(%7Blimit: '50mb'%7D));%0Aapp.use(bodyParser.urlencoded(%7Blimit: '50mb', extended: true%7D));%0A%0A
 app.use(

fix bug:设定返回结果无法存储大的数值