作者 lyh

Merge branch 'master-server' of http://47.244.231.31:8099/zhl/globalso-v6

@@ -45,7 +45,8 @@ class SendAutoEmail extends Command @@ -45,7 +45,8 @@ class SendAutoEmail extends Command
45 $status = $this->toQueue($value,$smtpInfo); 45 $status = $this->toQueue($value,$smtpInfo);
46 } 46 }
47 $autoEmailLogModel = new AutoEmailLog(); 47 $autoEmailLogModel = new AutoEmailLog();
48 - $autoEmailLogModel->edit(['status'=>$status],['id'=>$value['id']]); 48 + $rs = $autoEmailLogModel->edit(['status'=>$status],['id'=>$value['id']]);
  49 + $this->output('保存状态:' . $rs . 'status=>'.$status);
49 } 50 }
50 } 51 }
51 return true; 52 return true;
@@ -59,11 +59,11 @@ class UpdateRoute extends Command @@ -59,11 +59,11 @@ class UpdateRoute extends Command
59 */ 59 */
60 public function handle(){ 60 public function handle(){
61 $projectModel = new Project(); 61 $projectModel = new Project();
62 - $list = $projectModel->list(['delete_status'=>['=',0],'id'=>874]); 62 + $list = $projectModel->list(['delete_status'=>['=',0],'id'=>2902]);
63 foreach ($list as $v){ 63 foreach ($list as $v){
64 echo date('Y-m-d H:i:s') . 'project_id:'.$v['id'] . PHP_EOL; 64 echo date('Y-m-d H:i:s') . 'project_id:'.$v['id'] . PHP_EOL;
65 ProjectServer::useProject($v['id']); 65 ProjectServer::useProject($v['id']);
66 - $this->setProductKeyword(); 66 + $this->getProduct();
67 DB::disconnect('custom_mysql'); 67 DB::disconnect('custom_mysql');
68 } 68 }
69 echo date('Y-m-d H:i:s') . 'end' . PHP_EOL; 69 echo date('Y-m-d H:i:s') . 'end' . PHP_EOL;