国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
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.

33 lines
1.3KB

  1. <?php
  2. if (!defined('DEDEINC')) exit ('dedebiz');
  3. //配置缓存处理函数
  4. //\WeChat\Contracts\Tools::$cache_callable = [
  5. // 'set' => function ($name, $value, $expired = 360) {
  6. // var_dump(func_get_args());
  7. // },
  8. // 'get' => function ($name) {
  9. // var_dump(func_get_args());
  10. // },
  11. // 'del' => function ($name) {
  12. // var_dump(func_get_args());
  13. // },
  14. // 'put' => function ($name) {
  15. // var_dump(func_get_args());
  16. // },
  17. //];
  18. return [
  19. 'token' => 'test',
  20. 'appid' => 'wx60a43dd8161666d4',
  21. 'appsecret' => 'b4e28746f1bd73b5c6684f5e01883c36',
  22. 'encodingaeskey' => 'BJIUzE0gqlWy0GxfPp4J1oPTBmOrNDIGPNav1YFH5Z5',
  23. //配置商户支付参数
  24. 'mch_id' => "1332187001",
  25. 'mch_key' => 'A82DC5BD1F3359081049C568D8502BC5',
  26. //配置商户支付双向证书目录 (p12 | key,cert 二选一,两者都配置时p12优先)
  27. 'ssl_p12' => __DIR__.DIRECTORY_SEPARATOR.'cert'.DIRECTORY_SEPARATOR.'1332187001_20181030_cert.p12',
  28. //'ssl_key' => __DIR__.DIRECTORY_SEPARATOR.'cert'.DIRECTORY_SEPARATOR.'1332187001_20181030_key.pem',
  29. //'ssl_cer' => __DIR__.DIRECTORY_SEPARATOR.'cert'.DIRECTORY_SEPARATOR.'1332187001_20181030_cert.pem',
  30. //配置缓存目录,需要拥有写权限
  31. 'cache_path' => '',
  32. ];
  33. ?>