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' => '',
  10. 'app_id' => 'wx7d7181da92b54e99',
  11. 'app_secret' => 'd64e0bdfbe046fe09999807fd5e85698',
  12. 'miniapp_id' => 'wx4adbb64583a37087',
  13. 'mch_id' => '1634375237',
  14. 'key' => '7CQ2omIUwLmtOhbUkINuduJ8L8fykiJf',
  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' => '2016102100731553',
  38. 'mode' => 'dev',
  39. 'notify_url' => '/addons/epay/api/notifyx/type/alipay',
  40. 'return_url' => '/addons/epay/api/returnx/type/alipay',
  41. 'private_key' => 'MIIEowIBAAKCAQEAu+XirUyhh4gSKuQxpos/7pwrrlfGZ9QfOpPpCGyPYQxbnJQ9KIBIcG1BDNG51xXQrDR5gI5iQXR26nEgSROV6k8mNKovgcHMg2umQbEp9azqzyxhqvpv6dtlxBBeE7VdesNxatdVxtpInYWScBDwA7zPdKrc3ZpqeZYVMb1n4otYtVuPNa9uzNWKolGnZodVo1m8i7CeEWsExWIYktmaY5yfbIOX4twV4IWmHC6Qv5S0YH5xW+sGIRdNJaoWmeb0f1RqOT47nS0Rs9epHH4zk/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VnRtXD9JU2hjKmNkJRv75EyGhtifQKBgCV9mWC1jFdSU5CvhUSzZhRMjp0vqyJ63d8k9WHzTO4+pvyV3X+w4pUT1TXXKl37Cga9JI7L0GlwqX0hgfLofpVUat6/HMZpxiDbAjd8frYaMyps7kpcAVz31Dig9sLuzdxcLhd5uRpwHijf+oLoiEfF5qB/Z2tRqZVwN4cx/EDA',
  42. 'ali_public_key' => 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAorefwJyoCl7RgXlz/SaTdnUHJWm8UZc6STcwKJmttKjxb0S2fdD5+UfUoNHkVmTgeg9JNMAiLFefUuUS1UL/WDCyyQqA1Y+4VHxkfM5FR9+ZmeGXXRxfOZRAnZzYOX4xucSkHnFF6ye4kE6UWCb87JWzClmhhNGae18ZtJqOBNU4cFoLvR2CUYp/T3GFz5hHlHp3LrUKRSxNf7pROixy0Q7cfgSXPIiZuUtev9IflsqiB9dXzyQPm+RW8rsG0XG+ke/jBTPA9LmZsRNkUMKbevhliMZ6YdOPfx9eY+nWZucNo4sn1dW55dDXEg26djl4VYAsOA84qkKQGFdoflpXWQIDAQAB',
  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. ];