|
...
|
...
|
@@ -54,7 +54,7 @@ class WeekProject extends Command |
|
|
|
*/
|
|
|
|
public function handle(){
|
|
|
|
$projectModel = new Project();
|
|
|
|
$list = $projectModel->list(['delete_status'=>0,'id'=>['<',2000],'type'=>['in',[1,2,3,4,6]]],'id',['id','title']);
|
|
|
|
$list = $projectModel->list(['delete_status'=>0,'type'=>['in',[1,2,3,4,6]]],'id',['id','title']);
|
|
|
|
$domainModel = new DomainInfo();
|
|
|
|
foreach ($list as $k => $v){
|
|
|
|
echo date('Y-m-d H:i:s') . 'project_id:'.$v['id'] . PHP_EOL;
|
|
...
|
...
|
@@ -136,7 +136,7 @@ class WeekProject extends Command |
|
|
|
}
|
|
|
|
$v6WeeklyReportModel = new V6WeeklyReport();
|
|
|
|
$v6WeeklyReportModel->add($data);
|
|
|
|
// $this->workChatMessage($data,$value['id']);
|
|
|
|
$this->workChatMessage($data,$value['id']);
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
...
|
...
|
@@ -258,6 +258,7 @@ class WeekProject extends Command |
|
|
|
}
|
|
|
|
$timestamp = strtotime('tomorrow 9:00 AM');
|
|
|
|
$tomorrowNineAM = date('Y-m-d H:i:s', $timestamp);
|
|
|
|
$content = preg_replace('/[\x00-\x1F\x7F]/u', '', $content);
|
|
|
|
$param = [
|
|
|
|
'project_id'=>$project_id,
|
|
|
|
'friend_id'=>$friend_id,
|
...
|
...
|
|