Commit 61a3c151 by 王召彬

test

parent 14e057d2
......@@ -16,7 +16,7 @@ class CommonController
* @param string $msg
* @return array
*/
public 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