|
|
|
@ -77,7 +77,7 @@ class Tips extends CI_Controller
|
|
|
|
|
$infoTip->it_title = $this->input->post('it_title');
|
|
|
|
|
$infoTip->it_expires = strtotime($this->input->post('it_expires'));
|
|
|
|
|
$infoTip->it_code = $this->input->post('it_code');
|
|
|
|
|
$infoTip->it_content = $this->input->post('it_content');
|
|
|
|
|
$infoTip->it_content = replace_image_url($this->input->post('it_content'));
|
|
|
|
|
$infoTip->it_datetime = time();
|
|
|
|
|
$infoTip->it_id = $this->infoTips_model->update('infoTips', $infoTip, 'it_id=' . $it_id);
|
|
|
|
|
$data[] = array('name' => 'ok', 'value' => '保存成功!');
|
|
|
|
|