Wang Chen 4 年之前
父节点
当前提交
273368f6e9
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      app/Modules/Push/Services/PushService.php

+ 3 - 0
app/Modules/Push/Services/PushService.php

@@ -183,6 +183,7 @@ class PushService
         $title      = getProp($pushTask, 'title');
         $content    = getProp($pushTask, 'content');
         $url        = getProp($pushTask, 'url');
+        myLog('push')->info('1', compact('title', 'content'));
 
         // 循环群发
         foreach ($subTasks as $subTask) {
@@ -243,6 +244,8 @@ class PushService
                         break;
                 }
             } catch (Exception $e) {
+                myLog('push')->info('pushMessageToAll', [$provider, $result, $e->getMessage()]);
+
                 // 最终结果
                 $pushResult = 0 && $pushResult;