合并分支 'master-server' 到 'master'
Master server 查看合并请求 !1231
正在显示
2 个修改的文件
包含
4 行增加
和
3 行删除
| @@ -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.','.$val; | 309 | + $content .= ($key+1).','.$val; |
| 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); |
| @@ -245,12 +245,13 @@ class WeekProject extends Command | @@ -245,12 +245,13 @@ 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'=>$content, | 248 | + 'content'=>'【全球搜V6.0周报】'.$content, |
| 249 | 'ref_ids'=>'', | 249 | 'ref_ids'=>'', |
| 250 | 'send_time'=>$tomorrowNineAM | 250 | 'send_time'=>$tomorrowNineAM |
| 251 | ]; | 251 | ]; |
| 252 | //写入一条推送消息 自动消费 | 252 | //写入一条推送消息 自动消费 |
| 253 | $messagePushModel = new MessagePush(); | 253 | $messagePushModel = new MessagePush(); |
| 254 | - $messagePushModel->add($param); | 254 | + echo date('Y-m-d H:i:s') . '生成推送消息:'.$project_id . PHP_EOL; |
| 255 | + return $messagePushModel->add($param); | ||
| 255 | } | 256 | } |
| 256 | } | 257 | } |
-
请 注册 或 登录 后发表评论