|
|
@ -195,11 +195,13 @@ class infofix extends CI_Controller
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$ic = $this->infoContents_model->get_ic_contents2($ic_id);
|
|
|
|
$ic = $this->infoContents_model->get_ic_contents2($ic_id);
|
|
|
|
$json = $this->infoMetas_model->get($ic_id, 'AMP_JSON');
|
|
|
|
$json = $this->infoMetas_model->get($ic_id, 'AMP_JSON');
|
|
|
|
|
|
|
|
$use = $this->infoMetas_model->get($ic_id, 'AMP_BODY_PC_STATUS');
|
|
|
|
if ($ic) {
|
|
|
|
if ($ic) {
|
|
|
|
echo json_encode(
|
|
|
|
echo json_encode(
|
|
|
|
array(
|
|
|
|
array(
|
|
|
|
'state' => 0,
|
|
|
|
'state' => 0,
|
|
|
|
'ic_content' => $ic->ic_content,
|
|
|
|
'ic_content' => $ic->ic_content,
|
|
|
|
|
|
|
|
'pc_use' => $use,
|
|
|
|
'json' => $json
|
|
|
|
'json' => $json
|
|
|
|
)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
);
|
|
|
|