Commit 7ab8c457 by 朱继来

调整返回信息

parent 06a1dbd6
......@@ -28,8 +28,8 @@ class CmsController extends BaseController
protected function jsonReturn($code = 0, $msg = '', $extend = array())
{
$data = array(
'err_code' => $code,
'err_msg' => $msg,
'errcode' => $code,
'errmsg' => $msg,
'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