作者 lyh

gx脚本

@@ -306,7 +306,7 @@ class DownloadProject extends Command @@ -306,7 +306,7 @@ class DownloadProject extends Command
306 } 306 }
307 $arr[] = $content4; 307 $arr[] = $content4;
308 foreach ($arr as $key => $val){ 308 foreach ($arr as $key => $val){
309 - $content .= ($key+1).','.$val."/n"; 309 + $content .= ($key+1).','.$val."\n";
310 } 310 }
311 $timestamp = strtotime('tomorrow 9:00 AM'); 311 $timestamp = strtotime('tomorrow 9:00 AM');
312 $tomorrowNineAM = date('Y-m-d H:i:s', $timestamp); 312 $tomorrowNineAM = date('Y-m-d H:i:s', $timestamp);
@@ -314,7 +314,7 @@ class DownloadProject extends Command @@ -314,7 +314,7 @@ class DownloadProject extends Command
314 'project_id'=>$project_id, 314 'project_id'=>$project_id,
315 'friend_id'=>1, 315 'friend_id'=>1,
316 'type'=>MessagePush::TYPE_WEEK, 316 'type'=>MessagePush::TYPE_WEEK,
317 - 'content'=>"【全球搜V6.0周报】/n".$content, 317 + 'content'=>"【全球搜V6.0周报】"."\n".$content,
318 'ref_ids'=>'', 318 'ref_ids'=>'',
319 'send_time'=>$tomorrowNineAM, 319 'send_time'=>$tomorrowNineAM,
320 'status'=>3, 320 'status'=>3,