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' => 'wx4af83573cc08f1e8',
  10. 'app_id' => '',
  11. 'app_secret' => '',
  12. 'miniapp_id' => '',
  13. 'mch_id' => '1493372752',
  14. 'key' => '25edaa4f3ac185993ef48c66ca892da4',
  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' => '2021004185608607',
  38. 'mode' => 'normal',
  39. 'notify_url' => '/addons/epay/api/notifyx/type/alipay',
  40. 'return_url' => '/addons/epay/api/returnx/type/alipay',
  41. 'private_key' => 'MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQClaRr240SqPWQo8IrBfaDabYWkh4athiF9xAOChEGz/BmeHQBDBRFCLc1nDpm1aHykDLKsn80RwP3DgQG+wmrnRibTv0iiwunHA7wcLhlIN4uuaWIHLQvHTb79prWqgnTRtx+twctyfQEycC5QFjx4JorLmJieH0/789pF5jZmGfZNVMdYqngHHHy/lCGY9VG+fe/NWpE9jbNKxmjyTcoi5w6aRss5VDNFduIkSVPnMP1aQdGrLoVK19pF9KRzHltQh/iDNNkQsgGS8vG5wQL//3BX19RaXWz5IYZEfQLGjTu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0rgPAoGAeeonQWbQxpyYuIm/e1OMa3UcOkfO/3S/SqIHzVUicFwbU9RMrWLwrJC8YYhR+dIqoI63lLc6+3/MB2kbc39ASGFsSGVtUdmxejoKzUEwgIqYrFXr3AW26JtdU7HW2kAXFhp/74x+YMzUcZvbr236iT9zzHYm9bmQnGcMssXXY9g=',
  42. 'ali_public_key' => 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA7QT9qEDz+Nbr3n1C4QRMb/PXosxYB6iUiovbVVTEUfb9MeRPOA4Mb54wOVV+0MjOd+aufihtiA1uBmZVRNg3mwlXFq6s+t5dSJlkX/4M+k6VxIvvogvbj8HP9kVgTTwB9FtxQdYINxe7H1JXBneSVH5k2cAvH8Q6X85xGrwNc8W86reVZmJ5fn2Yqgqo2ohQ4k5IZN2E9BrT8WJh/AjO2ZrzT9jsrshjBuq0VqYzckWJuQ3diu1heC6ngldiFhlLBRkaFhzOMyEsJ9q2AnQPCmXGQ7SkxswZk6Oega4u8xqnSZxIeLIh3T/+zfIi/Tar71t30apBbtw4p/DA/0p8CwIDAQAB',
  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. ];