|
...
|
...
|
@@ -53,6 +53,7 @@ class SendProduct extends Command |
|
|
|
if(empty($domain)){
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
try {
|
|
|
|
$arr1 = $this->sendProduct();
|
|
|
|
$arr2 = $this->sendBlog();
|
|
|
|
$arr3 = $this->sendNews();
|
|
...
|
...
|
@@ -67,10 +68,13 @@ class SendProduct extends Command |
|
|
|
'language'=> [],
|
|
|
|
'is_sitemap' => 0
|
|
|
|
];
|
|
|
|
//TODO::通知C端生成界面
|
|
|
|
http_post($c_url, json_encode($param));
|
|
|
|
}
|
|
|
|
//TODO::通知C端生成界面
|
|
|
|
}catch (\Exception $e){
|
|
|
|
DB::disconnect('custom_mysql');
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
echo date('Y-m-d H:i:s') . 'end' . PHP_EOL;
|
|
|
|
}
|
...
|
...
|
|