You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

71 lines
1.9 KiB

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