Closed tigerui closed 7 years ago
request({ url: "https://api.mch.weixin.qq.com/pay/unifiedorder", method: 'POST', body: util.buildXML(opts), agentOptions: { pfx: this.options.pfx, passphrase: this.options.mch_id } }, function(err, response, body){ console.log(err); util.parseXML(body, fn); }); 求解
@tigerui 检查传的 body
request({ url: "https://api.mch.weixin.qq.com/pay/unifiedorder", method: 'POST', body: util.buildXML(opts), agentOptions: { pfx: this.options.pfx, passphrase: this.options.mch_id } }, function(err, response, body){ console.log(err); util.parseXML(body, fn); }); 求解