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' => 'wx50e884435508e7be',
  10. 'app_id' => '',
  11. 'app_secret' => '',
  12. 'miniapp_id' => '',
  13. 'mch_id' => '1676207020',
  14. 'key' => '45ca71aa5860aa637ac5da044d547063',
  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' => '2021004136672492',
  38. 'mode' => 'normal',
  39. 'notify_url' => '/addons/epay/api/notifyx/type/alipay',
  40. 'return_url' => '/addons/epay/api/returnx/type/alipay',
  41. 'private_key' => 'MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCQNYpDwlPqxlOEThy9q/ZdkWLr/umRLKJVHFYbCdwrFEk+w3QvzVxKNj2UER0ed0JVlX6bKhIYCz1xC/4GK8bavH42ZQvdF9y875EoH+qIthWdjtm8uTrDKkQ8xkZbMy8Z4t8Sjfoh4zei2Hh3Tos+EDe6Jl2a+ICHm9cOdwjvCh7+kT63NiBoUnQlkX9mbFrbRyM7b8GEjGN3m/frlsXBzV4lKK9hcHHmbSekS++z+QHwFhs7qavpsr+/+O/U9DQ2ittZycIx3Mm5txLE9ZoVOR4dmbn2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aocMtHM5ncOTgJ/fhAnfTketAhEHJjaIpohKD/AoGASnw2GEBTOKJ5fExB6/qxasPCpb73y8J/IUyiNk1lmkckpgyGQCyw8yHY+k7efmsih5D+98giuzfwx2jg3JkrtpkZjQq+wkHQRmFpgGqeCR7c/wzx8ncrxmjY/M4DmW+RII/aFNhfo6xigFhU1cFGCEu4FJIy3N8Wzcn4E5W1TVU=',
  42. 'ali_public_key' => 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAo4CuTzCdJJS+52vxsDQmfTsSlVpK+N6w+qLQwOsYbK1zn5MQL5/1i4sWyciVPnhFFjjhZDKNzHdiXEnEFrd+38xbg7U3BmJh/niYRXJdhVoj1KLWU7OfO0fq2Xg9qDXFhBqxZ7MHV1NJ1sFTSeSIqNDuvquLKGB1AedHnHejDoniaFqVIe8QtOG4BG2dWSaDsySREFTUrISujweXHucxDQF1lM60r/OhaOjRtYv3Axg4TZnOO1hsErdPiFlqDlftj6Lw8rmyRCaHvjyDBEBjcfvwH77M+y86A32PGtuIqdEIqhDipd1u6JFkcebf3ENdxUTtoklkO7btpjwcj6xgkwIDAQAB',
  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. ];