使用方式 var { post } = require('./index'); // test post var url = 'http://192.168.1.189:8888/walletServer/getBackPayPass/1.0' post(url, { bcHeader: { bcAppID: "***" }, bcParam: { name: 1, userId: 2, token: 3 } }).then(_ => { console.log('_', _); })