作者 李宇航

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

Master server



查看合并请求 !1231
... ... @@ -306,7 +306,7 @@ class DownloadProject extends Command
}
$arr[] = $content4;
foreach ($arr as $key => $val){
$content .= $key.','.$val;
$content .= ($key+1).','.$val;
}
$timestamp = strtotime('tomorrow 9:00 AM');
$tomorrowNineAM = date('Y-m-d H:i:s', $timestamp);
... ...
... ... @@ -245,12 +245,13 @@ class WeekProject extends Command
'project_id'=>$project_id,
'friend_id'=>$friend_id,
'type'=>MessagePush::TYPE_WEEK,
'content'=>$content,
'content'=>'【全球搜V6.0周报】'.$content,
'ref_ids'=>'',
'send_time'=>$tomorrowNineAM
];
//写入一条推送消息 自动消费
$messagePushModel = new MessagePush();
$messagePushModel->add($param);
echo date('Y-m-d H:i:s') . '生成推送消息:'.$project_id . PHP_EOL;
return $messagePushModel->add($param);
}
}
... ...