|
|
|
@ -193,6 +193,7 @@ class infofix extends CI_Controller
|
|
|
|
|
*/
|
|
|
|
|
function get_by_icid($ic_id)
|
|
|
|
|
{
|
|
|
|
|
header('Access-Control-Allow-Origin: *');
|
|
|
|
|
$ic = $this->infoContents_model->get_ic_contents2($ic_id);
|
|
|
|
|
$json = $this->infoMetas_model->get($ic_id, 'AMP_JSON');
|
|
|
|
|
$use = $this->infoMetas_model->get($ic_id, 'AMP_BODY_PC_STATUS');
|
|
|
|
@ -217,6 +218,7 @@ class infofix extends CI_Controller
|
|
|
|
|
|
|
|
|
|
function update_by_icid()
|
|
|
|
|
{
|
|
|
|
|
header('Access-Control-Allow-Origin: *');
|
|
|
|
|
$ic_id = $this->input->get_post('ic_id');
|
|
|
|
|
$ic_content = $this->input->get_post('ic_content');
|
|
|
|
|
$this->infoContents_model->force_update($ic_id, $ic_content);
|
|
|
|
|