$ npm i egg-full-alipay --save
// {app_root}/config/plugin.js
exports.fullAlipay = {
enable: true,
package: 'egg-full-alipay',
};
// {app_root}/config/config.default.js
exports.fullAlipay = {
appId: '', // 应用ID
appPrivateKey: '', // 应用私钥
alipayPublicKey: '',// 支付宝公钥
gatewayUrl: '',// 应用网关(选填)
notifyUrl: '',// 回调通知地址(选填)
};
see config/config.default.js for more detail.
Please open an issue here.