config.php 2.0 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' => 'wx1ed359bf9ef1525f',
  25. 'mch_id' => '1691702429',
  26. 'key' => 'X1qt6aYRSLkcvwUmWLJZI4itVcIPvLQn',
  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. 'mode' => 'normal',
  51. 'pid' => '',
  52. 'app_id' => '',
  53. 'notify_url' => '/addons/epay/api/notifyx/type/alipay',
  54. 'return_url' => '/addons/epay/api/returnx/type/alipay',
  55. 'private_key' => '',
  56. 'signtype' => 'cert',
  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. ];