|
...
|
...
|
@@ -462,7 +462,16 @@ class UpdateSeoTdk extends Command |
|
|
|
//通知C端更新界面
|
|
|
|
// $notify_master && $this->sendNotify($project_id, 1); //通知主站更新
|
|
|
|
// $notify_keyword && $this->sendNotify($project_id, 4); //通知聚合页更新
|
|
|
|
$notify_master && $this->sendNotify($project_id, 2); //通知主站按需更新
|
|
|
|
|
|
|
|
if($notify_master){
|
|
|
|
//缓存 在发送页面更新的项目数据 id
|
|
|
|
$notify_cache_key = "seo_tdk_update_notify_{$project_id}";
|
|
|
|
if(Redis::setnx($notify_cache_key, 1)){
|
|
|
|
Redis::expire($notify_cache_key, 120);
|
|
|
|
|
|
|
|
$this->sendNotify($project_id, 2); //通知主站按需更新
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getPrompt($project_id, $prompt, $table, $data, $field){
|
...
|
...
|
|