const fs = require('fs');
module.exports = {
mchid: '132******1',
serial_no: '25A6********************************93A0',
// privateKey: 'eUp8VUYNFgR41tn8yyIqsz73RuNhxHSB',
privateKey: fs.readFileSync(`${__dirname}/cert/apiclient_key.pem`),
certificates: `${__dirname}/certificates.json`,
};
/v3/certificates
let { certificates } = require('wepay');
let config = require('./config/config');
(async () => {
const body = await certificates(config);
console.log('[返回数据]:', JSON.stringify(body));
})();
Was this page helpful?
很高兴听到! 请告诉我们,我们如何才能改善.
很遗憾听到这个消息。 请告诉我们,我们如何才能改善.