Request: the options={
Url: 'https://api.mch.weixin.qq.com/mmpaymkttransfers/promotion/transfers',
Method: "POST",
Json: true,
Headers: {
The content-type: "application/json; Charset=utf-8 "
},
Body: formData,
Key: the fs readFileSync ('../server/common/file/wxpay/apiclient_key pem '),//will WeChat generated certificates in a cert directory
Cert: fs readFileSync ('../server/common/file/wxpay/apiclient_cert pem ')
};
Return results:
Return_code: [' SUCCESS '],
Return_msg: [' XML parsing errors'],
Result_code: [' FAIL '],
Err_code: [' XML_ERROR],
Err_code_des: [' XML parsing error]
CodePudding user response:
Is the little things, at the end of the notify_url & gt; ?