config.php 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <?php
  2. return array (
  3. 0 =>
  4. array (
  5. 'name' => 'wechat',
  6. 'title' => '微信',
  7. 'type' => 'array',
  8. 'content' =>
  9. array (
  10. ),
  11. 'value' =>
  12. array (
  13. 'appid' => 'wx3f78f6972c76783f',
  14. 'app_id' => 'wx3f78f6972c76783f',
  15. 'app_secret' => '8cb7478be2572f467706de231d1433b7',
  16. 'miniapp_id' => '',
  17. 'mch_id' => '1550545841',
  18. 'key' => '0dbccff49aa4812096d1bb527be90e26',
  19. 'notify_url' => '/addons/epay/api/notifyx/type/wechat',
  20. 'cert_client' => '/epay/certs/apiclient_cert.pem',
  21. 'cert_key' => '/epay/certs/apiclient_key.pem',
  22. 'log' => '1',
  23. ),
  24. 'rule' => '',
  25. 'msg' => '',
  26. 'tip' => '微信参数配置',
  27. 'ok' => '',
  28. 'extend' => '',
  29. ),
  30. 1 =>
  31. array (
  32. 'name' => 'alipay',
  33. 'title' => '支付宝',
  34. 'type' => 'array',
  35. 'content' =>
  36. array (
  37. ),
  38. 'value' =>
  39. array (
  40. 'app_id' => '',
  41. 'notify_url' => '/addons/epay/api/notifyx/type/alipay',
  42. 'return_url' => '/addons/epay/api/returnx/type/alipay',
  43. 'ali_public_key' => '',
  44. 'private_key' => '',
  45. 'log' => 1,
  46. ),
  47. 'rule' => 'required',
  48. 'msg' => '',
  49. 'tip' => '支付宝参数配置',
  50. 'ok' => '',
  51. 'extend' => '',
  52. ),
  53. 2 =>
  54. array (
  55. 'name' => '__tips__',
  56. 'title' => '温馨提示',
  57. 'type' => 'array',
  58. 'content' =>
  59. array (
  60. ),
  61. '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:微信商户支付的密钥',
  62. 'rule' => '',
  63. 'msg' => '',
  64. 'tip' => '微信参数配置',
  65. 'ok' => '',
  66. 'extend' => '',
  67. ),
  68. );