Commit 7ab8c457 by 朱继来

调整返回信息

parent 06a1dbd6
...@@ -28,8 +28,8 @@ class CmsController extends BaseController ...@@ -28,8 +28,8 @@ class CmsController extends BaseController
protected function jsonReturn($code = 0, $msg = '', $extend = array()) protected function jsonReturn($code = 0, $msg = '', $extend = array())
{ {
$data = array( $data = array(
'err_code' => $code, 'errcode' => $code,
'err_msg' => $msg, 'errmsg' => $msg,
'data' => $extend, 'data' => $extend,
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment