|
...
|
...
|
@@ -65,6 +65,7 @@ class CNoticeController extends BaseController |
|
|
|
if($domain_info){
|
|
|
|
//判断是否已有更新进行中
|
|
|
|
$notify_model = new Notify();
|
|
|
|
$type = $is_sitemap == 1 ? Notify::TYPE_ALL_SITEMAP : $type;
|
|
|
|
$data = [
|
|
|
|
'project_id' => $project_id,
|
|
|
|
'type' => $type,
|
|
...
|
...
|
@@ -90,6 +91,7 @@ class CNoticeController extends BaseController |
|
|
|
|
|
|
|
$data['data'] = Arr::a2s(['domain'=>$domain,'url'=>$url,'language'=>$language]);
|
|
|
|
$data['status'] = $is_sitemap == 1 ? Notify::STATUS_FINISH_PAGE : Notify::STATUS_INIT;
|
|
|
|
$data['is_pull_html_zip'] = $is_sitemap == 1 ? Notify::IS_PULL_HTML_ZIP_TRUE : Notify::IS_PULL_HTML_ZIP_FALSE;
|
|
|
|
$notify_model->add($data);
|
|
|
|
}
|
|
|
|
}
|
...
|
...
|
|