浏览代码

Merge branch 'liuzj-1001016-dev' into test

liuzejian 1 年之前
父节点
当前提交
52f894fd89
共有 2 个文件被更改,包括 7 次插入1 次删除
  1. 6 1
      app/Jobs/WechatPlatform/GZHSendKFMessage.php
  2. 1 0
      config/logging.php

+ 6 - 1
app/Jobs/WechatPlatform/GZHSendKFMessage.php

@@ -162,7 +162,12 @@ class GZHSendKFMessage implements ShouldQueue
             'nextUid' => $nextUid,
             'limit' => 1000
         ]);
-        if($res && (0 != ($res['code'] ?? 0))) {
+        if($res && (10000 == ($res['code'] ?? 10000))) {
+            myLog('KFMessageSend')->debug('通过用户分群获取用户列表', [
+                'gzhId' => $gzhId,
+                'ugId' => $ugId,
+                'res' => $res
+            ]);
             return $res;
         }
         return false;

+ 1 - 0
config/logging.php

@@ -143,6 +143,7 @@ return [
         'level' => [
             'JuliangAccountReportRanse' => env('LOGGING_JuliangAccountReportRanse', 'info'),
             'reportCharge' => env('LOGGING_reportCharge', 'info'),
+            'KFMessageSend' => env('LOGGING_KFMessageSend', 'debug')
         ],
     ]
  ];