From 9b474de0d17d4c4373bbe2ae2abc1ddd8e3296f8 Mon Sep 17 00:00:00 2001 From: evoxwht <442384644@qq.com> Date: Wed, 24 May 2023 10:56:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/crmeb/services/app/MiniProgramService.php | 6 ------ .../services/easywechat/orderShipping/MiniOrderService.php | 6 ------ 2 files changed, 12 deletions(-) diff --git a/crmeb/crmeb/services/app/MiniProgramService.php b/crmeb/crmeb/services/app/MiniProgramService.php index 620eacf9d..2ddeef521 100644 --- a/crmeb/crmeb/services/app/MiniProgramService.php +++ b/crmeb/crmeb/services/app/MiniProgramService.php @@ -105,12 +105,6 @@ class MiniProgramService $config = [ 'token' => isset($wechat['wechat_token']) ? trim($wechat['wechat_token']) : '', 'aes_key' => isset($wechat['wechat_encodingaeskey']) ? trim($wechat['wechat_encodingaeskey']) : '', - 'debug' => true, - 'log' => [ - 'level' => 'debug', - 'permission' => 0777, - 'file' => '/www/wwwroot/bz.wuht.net/crmeb/crmeb/runtime/log/easywechat.log', - ], ]; $config['mini_program'] = [ 'app_id' => $appId, diff --git a/crmeb/crmeb/services/easywechat/orderShipping/MiniOrderService.php b/crmeb/crmeb/services/easywechat/orderShipping/MiniOrderService.php index 5541b27a6..6ddc47f09 100644 --- a/crmeb/crmeb/services/easywechat/orderShipping/MiniOrderService.php +++ b/crmeb/crmeb/services/easywechat/orderShipping/MiniOrderService.php @@ -24,12 +24,6 @@ class MiniOrderService { $payment = SystemConfigService::more(['routine_appId', 'routine_appsecret', 'pay_weixin_mchid', 'pay_new_weixin_open', 'pay_new_weixin_mchid']); return [ - 'debug' => true, - 'log' => [ - 'level' => 'debug', - 'permission' => 0777, - 'file' => '/www/wwwroot/bz.wuht.net/crmeb/crmeb/runtime/log/easywechat.log', - ], 'mini_program' => [ 'app_id' => $payment['routine_appId'] ?? '', 'secret' => $payment['routine_appsecret'] ?? '',