From 9311b8ee86ce8a69474aca97db58869d24f3b188 Mon Sep 17 00:00:00 2001 From: LiaoYijun Date: Wed, 12 Sep 2018 14:26:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3AMP=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E4=BF=9D=E5=AD=98=E6=B2=A1=E6=9C=89=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/amp.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/controllers/amp.php b/application/controllers/amp.php index 2895f5fa..740f9f9d 100644 --- a/application/controllers/amp.php +++ b/application/controllers/amp.php @@ -108,7 +108,8 @@ class Amp extends CI_Controller $this->InfoMetas_model->update($ic_id, 'AMP_STATUS', $amp_status); } - echo json_encode(array('name' => 'ok', 'value' => $this->lang->line('form_info_success'))); + $data[] = array('name' => 'ok', 'value' => $this->lang->line('form_info_success')); + echo json_encode($data); } }