|
|
|
@ -111,6 +111,13 @@ class Information extends CI_Controller
|
|
|
|
|
return false;
|
|
|
|
|
} else {
|
|
|
|
|
$info_detail = $this->Information_model->Detail($is_id);
|
|
|
|
|
|
|
|
|
|
//删除前,备份amp的meta标签-isid。
|
|
|
|
|
$meta_value = $this->InfoMetas_model->get($info_detail->ic_id, 'AMP_JSON');
|
|
|
|
|
if ($meta_value) {
|
|
|
|
|
$this->Logs_model->backup_meta($info_detail->ic_id, $meta_value, 'AMP_JSON_'.$is_id);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$this->Logs_model->delete($is_id, $info_detail->ic_content);
|
|
|
|
|
if (!empty($info_detail->ic_summary)) {
|
|
|
|
|
$this->Logs_model->backup_summary($is_id, $info_detail->ic_summary);
|
|
|
|
|