//引入promise
if(!Promise){
var Promise = require("bluebird");
// Configure
Promise.config({
longStackTraces: true,
warnings: true // note, run node with --trace-warnings to see full stack traces for warnings
})
}
//引入promise
if(!Promise){
var Promise = require("bluebird");
// Configure
Promise.config({
longStackTraces: true,
warnings: true // note, run node with --trace-warnings to see full stack traces for warnings
})
}