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