Commit fd7bcb19 by 王召彬

test

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