config.php 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?php
  2. return [
  3. [
  4. 'name' => 'wechat',
  5. 'title' => '微信',
  6. 'type' => 'array',
  7. 'content' => [],
  8. 'value' => [
  9. 'appid' => '',
  10. 'app_id' => 'wxcdb15751a5a2b878',
  11. 'app_secret' => '5d69ab5688e4b645a146d0cc0814e6f9',
  12. 'miniapp_id' => 'wxcdb15751a5a2b878',
  13. 'mch_id' => '1646457593',
  14. 'key' => 'wLm7O3lx8kBH13iDBTz22lnbXv2yxZMf',
  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. 'mode' => 'normal',
  38. 'app_id' => '',
  39. 'notify_url' => '/addons/epay/api/notifyx/type/alipay',
  40. 'return_url' => '/addons/epay/api/returnx/type/alipay',
  41. 'private_key' => '',
  42. 'ali_public_key' => '',
  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. ];