config.php 4.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <?php
  2. return [
  3. [
  4. 'name' => 'wechat',
  5. 'title' => '微信',
  6. 'type' => 'array',
  7. 'content' => [],
  8. 'value' => [
  9. 'appid' => 'wx6ba019eb2e1f2a7a',
  10. 'app_id' => '',
  11. 'app_secret' => '',
  12. 'miniapp_id' => '',
  13. 'mch_id' => '1682465840',
  14. 'key' => 'ef4d480bb26a236e18f9b9a1fc5e1b53',
  15. 'mode' => 'normal',
  16. 'sub_mch_id' => '',
  17. 'sub_appid' => '',
  18. 'sub_app_id' => '',
  19. 'sub_miniapp_id' => '',
  20. 'notify_url' => '/addons/epay/api/notifyx/type/wechat',
  21. 'cert_client' => '/addons/epay/certs/apiclient_cert.pem',
  22. 'cert_key' => '/addons/epay/certs/apiclient_key.pem',
  23. 'log' => '1',
  24. ],
  25. 'rule' => '',
  26. 'msg' => '',
  27. 'tip' => '微信参数配置',
  28. 'ok' => '',
  29. 'extend' => '',
  30. ],
  31. [
  32. 'name' => 'alipay',
  33. 'title' => '支付宝',
  34. 'type' => 'array',
  35. 'content' => [],
  36. 'value' => [
  37. 'app_id' => '2021004154601245',
  38. 'mode' => 'normal',
  39. 'notify_url' => '/addons/epay/api/notifyx/type/alipay',
  40. 'return_url' => '/addons/epay/api/returnx/type/alipay',
  41. 'private_key' => 'MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC5W/971tV3pFwdCuRpxOPOuUPv8ZAfz8W9SzQ/uzQ/avlIav8/0VRoidzWsWrVOyskiCpju+QmjIUN+8ZY9deiOYPYSuuuPm+IyH4u3QJyz5XTEe4UjjfRcobVmnaJ8wf5ZJnwsqcau1X52CR8cEXDUuNG6KJ0qra2tn0/j0ogbBYSTYu1Aa/7qeqdqTWF4GEB4gOkoPoUzpOowgGGpXFmomTiNqYTbO2YRJUjI4wxS7J9vHIWvRMPcU4tSh355hFtiguMTJIAWGFodsEvohH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PG12HBflNJoJpiBbb4t2OQKBgGhrKoRL3yK+pdD0sIu0zxCqR1dPRniLrGu0mF1TarM3Vvv9wRhpvkddjxrN/FSRjGdxvASQ7j+O84ypzltEo//zdeSDv+CyAWtiJ9HrEg+yjLj7w46/xOCT1qvSN3E2duBrmSCnuGsow2UDTvYLCZLB5WCbKPyzyZ1hgTOaxanl',
  42. 'ali_public_key' => 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2WbjzXARpqz2wKTwuxX7pp9hdPV53UbgID8n5NaJ4UNS2xdBr+QfQU9rfF8BOyEWOE49YzGQkdL6eejasRMyy5uvQzJD2gcF0E1+6L2ss/bnSiWIVMemmRtCIbT94eENHy12Hh3folYV+Vfmm2ioPIWr72FRr9h3t/79qbDFSvowYSksxXqy5QW98a6Dz5ocH1bnMv4vPMgn7zFtGdHxpHjgE5Pp0QvCdvXTpd8WXIUQIv5m6DcPX/7Q+i+VpouwCE6CXslP5codEAEcuywCbVDTCiTbKI4Op0ymjX9zkjOxum6OsiF2+yEKOdKeaGSsbj873MjCBFB/HCwfrLkwQwIDAQAB',
  43. 'app_cert_public_key' => '',
  44. 'alipay_root_cert' => '',
  45. 'log' => '1',
  46. 'scanpay' => '0',
  47. ],
  48. 'rule' => 'required',
  49. 'msg' => '',
  50. 'tip' => '支付宝参数配置',
  51. 'ok' => '',
  52. 'extend' => '',
  53. ],
  54. [
  55. 'name' => '__tips__',
  56. 'title' => '温馨提示',
  57. 'type' => 'array',
  58. 'content' => [],
  59. 'value' => '请注意微信支付证书路径位于/addons/epay/certs目录下,请替换成你自己的证书<br>appid:APP的appid<br>app_id:公众号的appid<br>app_secret:公众号的secret<br>miniapp_id:小程序ID<br>mch_id:微信商户ID<br>key:微信商户支付的密钥',
  60. 'rule' => '',
  61. 'msg' => '',
  62. 'tip' => '微信参数配置',
  63. 'ok' => '',
  64. 'extend' => '',
  65. ],
  66. ];