Commit 076df3ca by 王召彬

test

parent 1c3e1c9e
......@@ -17,7 +17,7 @@ class CommonController
* @param mixed $data
* @return array
*/
public static function error(int $errorCode, string $msg, $data=null) {
public function error(int $errorCode, string $msg, $data=null) {
return [
'errorCode' => $errorCode,
'msg' => $msg,
......@@ -32,7 +32,7 @@ class CommonController
* @param string $msg
* @return array
*/
public static function success($data, string $msg='') {
public function success($data, string $msg='') {
return [
'data' => $data,
'msg' => $msg,
......
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