作者 李宇航

合并分支 'master-server' 到 'master'

gx脚本



查看合并请求 !1236
@@ -314,9 +314,9 @@ class DownloadProject extends Command @@ -314,9 +314,9 @@ 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'=>$content, 317 + 'content'=>"【全球搜V6.0周报】/n".$content,
318 'ref_ids'=>'', 318 'ref_ids'=>'',
319 - 'send_time'=>'【全球搜V6.0周报】/n'.$tomorrowNineAM, 319 + 'send_time'=>$tomorrowNineAM,
320 'status'=>3, 320 'status'=>3,
321 ]; 321 ];
322 //写入一条推送消息 自动消费 322 //写入一条推送消息 自动消费
@@ -237,7 +237,7 @@ class WeekProject extends Command @@ -237,7 +237,7 @@ class WeekProject extends Command
237 } 237 }
238 $arr[] = $content4; 238 $arr[] = $content4;
239 foreach ($arr as $key => $val){ 239 foreach ($arr as $key => $val){
240 - $content .= ($key + 1) .','.$val; 240 + $content .= ($key + 1) .','.$val."/n";
241 } 241 }
242 $timestamp = strtotime('tomorrow 9:00 AM'); 242 $timestamp = strtotime('tomorrow 9:00 AM');
243 $tomorrowNineAM = date('Y-m-d H:i:s', $timestamp); 243 $tomorrowNineAM = date('Y-m-d H:i:s', $timestamp);
@@ -245,7 +245,7 @@ class WeekProject extends Command @@ -245,7 +245,7 @@ class WeekProject extends Command
245 'project_id'=>$project_id, 245 'project_id'=>$project_id,
246 'friend_id'=>$friend_id, 246 'friend_id'=>$friend_id,
247 'type'=>MessagePush::TYPE_WEEK, 247 'type'=>MessagePush::TYPE_WEEK,
248 - 'content'=>'【全球搜V6.0周报】'.$content, 248 + 'content'=>'【全球搜V6.0周报】'."/n".$content,
249 'ref_ids'=>'', 249 'ref_ids'=>'',
250 'send_time'=>$tomorrowNineAM 250 'send_time'=>$tomorrowNineAM
251 ]; 251 ];