1.0.2 • Published 2 years ago

egg-full-alipay v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

egg-full-alipay

NPM version build status Test coverage David deps Known Vulnerabilities npm download

Install

$ npm i egg-full-alipay --save

Usage

// {app_root}/config/plugin.js
exports.fullAlipay = {
  enable: true,
  package: 'egg-full-alipay',
};

Configuration

// {app_root}/config/config.default.js
exports.fullAlipay = {
  appId: '', // 应用ID
  appPrivateKey: '', // 应用私钥
  alipayPublicKey: '',// 支付宝公钥
  gatewayUrl: '',// 应用网关(选填)
  notifyUrl: '',// 回调通知地址(选填)
};

see config/config.default.js for more detail.

Example

Questions & Suggestions

Please open an issue here.

License

MIT