diff --git a/webapp/controller/GuideController.class.php b/webapp/controller/GuideController.class.php index 2ea9b723..a5b4e3f7 100644 --- a/webapp/controller/GuideController.class.php +++ b/webapp/controller/GuideController.class.php @@ -13,9 +13,7 @@ class GuideController extends BaseAuthedController { 'account_id' => $this->_getAccountId() ) ); - echo json_encode(array( - 'errcode' => 0, - 'errmsg' => "OK", + $this->_rspData(array( 'data' => $row ? $row['data'] : null )); } @@ -40,6 +38,7 @@ class GuideController extends BaseAuthedController { 'modifytime' => $this->_getNowTime() ) ); + $this->_rspOk(); } }