config.php 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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' => '',
  25. 'mch_id' => '',
  26. 'key' => '',
  27. 'key_v3' => '',
  28. 'mode' => 'normal',
  29. 'sub_mch_id' => '',
  30. 'sub_appid' => '',
  31. 'sub_app_id' => '',
  32. 'sub_miniapp_id' => '',
  33. 'notify_url' => '',
  34. 'cert_client' => '/addons/epay/certs/apiclient_cert.pem',
  35. 'cert_key' => '/addons/epay/certs/apiclient_key.pem',
  36. 'log' => '1',
  37. ],
  38. 'rule' => 'required',
  39. 'msg' => '',
  40. 'tip' => '微信参数配置',
  41. 'ok' => '',
  42. 'extend' => '',
  43. ],
  44. [
  45. 'name' => 'alipay',
  46. 'title' => '支付宝',
  47. 'type' => 'array',
  48. 'content' => [],
  49. 'value' => [
  50. 'app_id' => '',
  51. 'mode' => 'normal',
  52. 'notify_url' => '/addons/epay/api/notifyx/type/alipay',
  53. 'return_url' => '/addons/epay/api/returnx/type/alipay',
  54. 'private_key' => '',
  55. 'signtype' => 'cert',
  56. 'pid' => '',
  57. 'ali_public_key' => '',
  58. 'app_cert_public_key' => '',
  59. 'alipay_root_cert' => '',
  60. 'log' => '1',
  61. 'scanpay' => '0',
  62. ],
  63. 'rule' => 'required',
  64. 'msg' => '',
  65. 'tip' => '支付宝参数配置',
  66. 'ok' => '',
  67. 'extend' => '',
  68. ]
  69. ];