Просмотр исходного кода

feat: 添加小程序订单模块日志

Gosowong 2 лет назад
Родитель
Сommit
8937cabfaf
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      crmeb/crmeb/services/easywechat/orderShipping/MiniOrderService.php

+ 6 - 0
crmeb/crmeb/services/easywechat/orderShipping/MiniOrderService.php

@@ -25,6 +25,12 @@ class MiniOrderService
     {
     {
         $payment = SystemConfigService::more(['routine_appId', 'routine_appsecret', 'pay_weixin_mchid', 'pay_new_weixin_open', 'pay_new_weixin_mchid']);
         $payment = SystemConfigService::more(['routine_appId', 'routine_appsecret', 'pay_weixin_mchid', 'pay_new_weixin_open', 'pay_new_weixin_mchid']);
         return [
         return [
+            'debug'  => true,
+            'log' => [
+                'level'      => 'debug',
+                'permission' => 0777,
+                'file'       => '/www/wwwroot/bz.wuht.net/crmeb/crmeb/runtime/log',
+            ],
             'mini_program' => [
             'mini_program' => [
                 'app_id' => $payment['routine_appId'] ?? '',
                 'app_id' => $payment['routine_appId'] ?? '',
                 'secret' => $payment['routine_appsecret'] ?? '',
                 'secret' => $payment['routine_appsecret'] ?? '',