Wang Chen hace 4 años
padre
commit
273368f6e9
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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;