liugc 9 месяцев назад
Родитель
Сommit
efff9b226e
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      app/common/service/wechat/WeChatConfigService.php

+ 2 - 0
app/common/service/wechat/WeChatConfigService.php

@@ -17,6 +17,7 @@ use app\common\enum\PayEnum;
 use app\common\enum\user\UserTerminalEnum;
 use app\common\model\pay\PayConfig;
 use app\common\service\ConfigService;
+use think\facade\Log;
 
 /**
  * 微信配置类
@@ -129,6 +130,7 @@ class WeChatConfigService
         if (!empty($apiclientKey) && !file_exists($keyPath)) {
             static::setCert($keyPath, trim($apiclientKey));
         }
+        Log::info('微信支付配置:'.$notifyUrl.':'.formatLogData($pay));
         return [
             // 商户号
             'mch_id' => $pay['config']['mch_id'] ?? '',