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' => 'wx4148b31582a36cbc',
  10. 'app_id' => '',
  11. 'app_secret' => '',
  12. 'miniapp_id' => '',
  13. 'mch_id' => '1642496861',
  14. 'key' => 'D2F8f6s06w8e7q1d0s6FB6D2d3s9w8f6',
  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' => '2021003173671906',
  38. 'mode' => 'normal',
  39. 'notify_url' => '/addons/epay/api/notifyx/type/alipay',
  40. 'return_url' => '/addons/epay/api/returnx/type/alipay',
  41. 'private_key' => 'MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC//puCks6PX1CdR2bXULDlGJx50ZWItDmH4b9407fzmcbLQqwpmcrs1IjOxqb5nCylfMZGz4YxA4TLd/APBUH3qT6t4smQeHpsvZUIYzhSCacDDvjMnqy5gnpiky/BWD/sNisu9KV/JwzaAKg+VM82vIABB70o3mcEYMIkyM42aAwywoEUBWyLgzzXh3ykwkFpos3sXHPhbke2Vj2XsdFr9XkCZAjbiq9ufbkN96KF8h84Xhi9o4A4WD0ZTxN0KN7179aqkDEC2ruyfeeOmtPY1QYemwOc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ykJ9b4aVqbD2DR+y1HyQYVacDl4ncbQQKBgHkT452QXzpDZjeh7nzQpiC/vOYxOApPSFr1wC4JwLsnUTJU+U6dAafJrM4gIPyhrkM2tdNk1NkO3NipxNlf7OC3/WFwA/DxPNY87eaFyzbOm1ngADvk8gisBzeRf2hhZ5QfH5PWQbFCKTHMXYHdNJAx5P9AOiUgL5yZbYnP8XaX',
  42. 'ali_public_key' => 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApYw6zIwZAtNP9QEe5eCmsoGvc7eauOYH3Q2gUHbEKcdQ255ESF/Hlt/wHcr3H9LMYbP7zLf94ehoZxBkf4I7b9txlmev2C2sWK4WE8W/fqres4ShKlM0fCC8l1FLZVu4K+ca9xZJ6L9Fx2yZVgi7EqL3GWsKM4Tg1dDLoX56fmdfUEZpc3qSKGrPSTDxCdVpS+Wnty6gNtppJFxgBCdeLTyKw04GRGUkLtzgwp12+mYm2EJonEk2MiFjXGHy2r6xbm09dRbllsZ/WXnXctMDF0zZCJTXzpKQGsfAaeKV+ce483DLIjXWWcQzU0ntNoNH2fSDUc9Du+mXAmNOgVlTbwIDAQAB',
  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. ];