浏览代码

提取pid更新

zhaozhen 1 年之前
父节点
当前提交
1b5e3b85ff
共有 2 个文件被更改,包括 44 次插入79 次删除
  1. 39 74
      app/Console/Commands/Test.php
  2. 5 5
      app/Service/MassMsgService.php

文件差异内容过多而无法显示
+ 39 - 74
app/Console/Commands/Test.php


+ 5 - 5
app/Service/MassMsgService.php

@@ -122,12 +122,12 @@ class MassMsgService
122 122
                 }
123 123
             }
124 124
 
125
-            if (count($drawPids) > 1) {
126
-                Log::logError('提取推广链接PID存在多个值', $datum, $logName);
127
-                return false;
128
-            }
125
+//            if (count($drawPids) > 1) {
126
+//                Log::logError('提取推广链接PID存在多个值', $datum, $logName);
127
+//                return false;
128
+//            }
129 129
 
130
-            if (!empty($drawPids)) $pid = current($drawPids);
130
+            if (!empty($drawPids)) $pid = json_encode(array_filter($drawPids));
131 131
 
132 132
             Log::logInfo('提取结束', $attachments, $logName);
133 133
         }