master
LMR 11 months ago
parent 6f2fe4207f
commit 89083cc115

@ -194,11 +194,13 @@ class infofix extends CI_Controller
function get_by_icid($ic_id) function get_by_icid($ic_id)
{ {
$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');
if ($ic) { if ($ic) {
echo json_encode( echo json_encode(
array( array(
'state' => 0, 'state' => 0,
'data' => $ic 'ic_content' => $ic->ic_content,
'json' => $json
) )
); );
} else { } else {

Loading…
Cancel
Save