Commit 6dc9f7c2 by 王召彬

test

parent 0fb1c773
......@@ -19,7 +19,7 @@ class BaseController
*/
public static function error(int $errorCode, string $msg, $data=null) {
return [
'error_code' => $errorCode,
'errorCode' => $errorCode,
'msg' => $msg,
'data' => $data,
];
......@@ -36,7 +36,7 @@ class BaseController
return [
'data' => $data,
'msg' => $msg,
'error_code' => 0,
'errorCode' => 0,
];
}
}
\ No newline at end of file
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 to comment