This commit is contained in:
evoxwht 2023-05-24 10:56:21 +08:00
parent e89c99cc35
commit 9b474de0d1
2 changed files with 0 additions and 12 deletions

View File

@ -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,

View File

@ -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'] ?? '',