作者 刘锟

update

@@ -43,7 +43,9 @@ class SyncInquiryRelay extends Command @@ -43,7 +43,9 @@ class SyncInquiryRelay extends Command
43 43
44 public function handle() 44 public function handle()
45 { 45 {
  46 + $this->output('开始同步表单系统询盘');
46 $this->getInquiryForm(); 47 $this->getInquiryForm();
  48 + $this->output('开始同步asp采集询盘');
47 $this->getInquirySzcm(); 49 $this->getInquirySzcm();
48 } 50 }
49 51
@@ -184,4 +186,9 @@ class SyncInquiryRelay extends Command @@ -184,4 +186,9 @@ class SyncInquiryRelay extends Command
184 } 186 }
185 return $ip; 187 return $ip;
186 } 188 }
  189 +
  190 + public function output($message)
  191 + {
  192 + echo date('Y-m-d H:i:s') . ' | ' . $message . PHP_EOL;
  193 + }
187 } 194 }