config.php 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <?php
  2. return [
  3. [
  4. 'name' => 'version',
  5. 'title' => 'API版本(请勿修改该值)',
  6. 'type' => 'radio',
  7. 'content' => [],
  8. 'value' => 'v2',
  9. 'rule' => '',
  10. 'msg' => '',
  11. 'tip' => 'V2版本只支持微信支付V2密钥,V3版本只支持微信支付V3密钥,请勿修改该值!!!',
  12. 'ok' => '',
  13. 'extend' => '',
  14. ],
  15. [
  16. 'name' => 'wechat',
  17. 'title' => '微信',
  18. 'type' => 'array',
  19. 'content' => [],
  20. 'value' => [
  21. 'appid' => '',
  22. 'app_id' => '',
  23. 'app_secret' => '',
  24. 'miniapp_id' => 'wx9a7153e5b40d9663',
  25. 'mch_id' => '1625774482',
  26. 'key' => 'DRs2yi80exLRn6tI4cBhISMfj7SPYMQG',
  27. 'key_v3' => 'vnQynXQo9kp5hh0pvlfjN03uiQZ222AS',
  28. 'public_key_id' => '',
  29. 'public_key' => '',
  30. 'cert_client' => '/addons/epay/certs/apiclient_cert.pem',
  31. 'cert_key' => '/addons/epay/certs/apiclient_key.pem',
  32. 'mode' => 'normal',
  33. 'sub_mch_id' => '',
  34. 'sub_appid' => '',
  35. 'sub_app_id' => '',
  36. 'sub_miniapp_id' => '',
  37. 'notify_url' => '',
  38. 'log' => '1',
  39. ],
  40. 'rule' => 'required',
  41. 'msg' => '',
  42. 'tip' => '微信参数配置',
  43. 'ok' => '',
  44. 'extend' => '',
  45. ],
  46. [
  47. 'name' => 'alipay',
  48. 'title' => '支付宝',
  49. 'type' => 'array',
  50. 'content' => [],
  51. 'value' => [
  52. 'mode' => 'normal',
  53. 'pid' => '',
  54. 'app_id' => '',
  55. 'notify_url' => '/addons/epay/api/notifyx/type/alipay',
  56. 'return_url' => '/addons/epay/api/returnx/type/alipay',
  57. 'signtype' => 'cert',
  58. 'ali_public_key' => '',
  59. 'app_cert_public_key' => '',
  60. 'alipay_root_cert' => '',
  61. 'private_key' => '',
  62. 'log' => '1',
  63. 'scanpay' => '0',
  64. ],
  65. 'rule' => 'required',
  66. 'msg' => '',
  67. 'tip' => '支付宝参数配置',
  68. 'ok' => '',
  69. 'extend' => '',
  70. ],
  71. ];