Commit 8e4c3d6f by 冷斌

fix bug

parent f5e959c6
...@@ -99,6 +99,12 @@ class Api_Charge extends PhalApi_Api { ...@@ -99,6 +99,12 @@ class Api_Charge extends PhalApi_Api {
'mch_id' => $configpri['wx_mchid'], 'mch_id' => $configpri['wx_mchid'],
'key' => $configpri['wx_key'], 'key' => $configpri['wx_key'],
'notify_url' => $configpub['site'].'/index.php?g=Appapi&m=pay&a=notify_wx', 'notify_url' => $configpub['site'].'/index.php?g=Appapi&m=pay&a=notify_wx',
'log' => [ // optional
'file' => './logs/wechat.log',
'level' => 'info', // 建议生产环境等级调整为 info,开发环境为 debug
'type' => 'single', // optional, 可选 daily.
'max_file' => 30, // optional, 当 type 为 daily 时有效,默认 30 天
],
]; ];
try{ try{
require dirname(dirname(dirname(__DIR__))) . '/vendor/autoload.php'; require dirname(dirname(dirname(__DIR__))) . '/vendor/autoload.php';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment