config.php 4.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' => 'wx07866530510b51dd',
  22. 'app_id' => '',
  23. 'app_secret' => '',
  24. 'miniapp_id' => '',
  25. 'mch_id' => '1659785619',
  26. 'key' => '3ba40f2d666212cbb1be64d1f225bb17',
  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' => '2021004164695867',
  53. 'notify_url' => '/addons/epay/api/notifyx/type/alipay',
  54. 'return_url' => '/addons/epay/api/returnx/type/alipay',
  55. 'private_key' => 'MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCp98W8LVWpkIqg6CBuzLONdKX6ZllyHoGERNh2BuETrmCPm1IVRb7MCc702jpSl01sl/Fo1QjxbZ8G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sqqjhO3hE2Pu8S54+fla793T7TCxgVsU3AeCX5InjQ1X4XMqoMCRgo8TkIHAoGBAIeTKY3xmRZZCNrvKZoaFbQlyAdaV+l0Wh87tjbXY7xBcQO54taPkLQ1RFoS7+D/PRaYcCVi/lN1O/kFdQZQNvQJ04lwz1lqq8A+RLvTXU46rhjdfDisEOStZfWmrEP8Nv1srQtFcJ1+747Pu9ksNzMvqQhzb3mC4sNJ5tZLsVClAoGAR4ilaycgHHlOq9y22eobqReqD4NqfyIpbdrIIMhqPCLKB31jJVjc/13lEAf6CDFH7ASWhDGvmBiy6yvlKvMTB+LUUFyR6dr+WSoxISty+BAYOA+Dpa5eTowWoi3XhmML+eXgbS97YyUaQr2N3FCv9BqeaJTRjSPROM/HsZPLS54=',
  56. 'signtype' => 'publickey',
  57. 'ali_public_key' => 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAgsGVCTZ0u9PeNoG6CtO2sVwXMzfoAYgn79mauow39hBFFe5Zshg4nU242znf9EocrpPFycLiMEFGTgnw2TnAyL83YqwB1yaRjQvdqiZUJ+nHvBiPWPeANKGE8XQArB5Kjxljt74Y/9WulH6HQhLymhjHnRxg6DLzLrYkAM9pBYzxXWgh38C7UlUHkwWSK4HPlvEFWmyQCFY9c0VJpu31trceuG1vVz/s/jeFL1z3XKQnRwbHB6cz1OXYX0OxtRsipitIX4Qs87Sx/xtzBrSDCery/BU8GniR+Kw1/LhJByuLo86xElMHbZm5Dtee0SH+7cecd+Y/AOMFDjW1ICqy4wIDAQAB',
  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. ];