diff --git a/webapp/controller/KefuController.class.php b/webapp/controller/KefuController.class.php index 427b33c..436f51d 100644 --- a/webapp/controller/KefuController.class.php +++ b/webapp/controller/KefuController.class.php @@ -181,6 +181,10 @@ class KefuController { )); $this->sendOneDBInfo($conn, $media_conf); } + echo json_encode(array( + 'errcode' => 0, + 'errmsg' => '', + )); } private function checkSignature() @@ -248,9 +252,9 @@ class KefuController { "miniprogrampage" => $game_conf )); - if ($row['idx'] > $last_idx) { - $last_idx = $row['idx']; - } + } + if ($row['idx'] > $last_idx) { + $last_idx = $row['idx']; } } }