|
|
|
@ -29,6 +29,13 @@ class Info_amp extends CI_Controller
|
|
|
|
$schema = $this->input->get_post('schema');
|
|
|
|
$schema = $this->input->get_post('schema');
|
|
|
|
$script = $this->input->get_post('script');
|
|
|
|
$script = $this->input->get_post('script');
|
|
|
|
$status = $this->input->get_post('status');
|
|
|
|
$status = $this->input->get_post('status');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//如果源信息的内容为空,则插入内容。
|
|
|
|
|
|
|
|
$info = $this->InfoContents_model->get_ic_contents2($icid);
|
|
|
|
|
|
|
|
if ($info && empty($info->ic_content)) {
|
|
|
|
|
|
|
|
$this->InfoContents_model->force_update($ic_id, '<style>'.$pc_css.'</style>'.$pc_html);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if ($icid && $json && $html) {
|
|
|
|
if ($icid && $json && $html) {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
//html
|
|
|
|
//html
|
|
|
|
|