Commit 14e057d2 by 王召彬

test

parent 076df3ca
......@@ -10,22 +10,6 @@ class CommonController
{
/**
* 业务层-错误时响应
*
* @param integer $errorCode
* @param string $msg
* @param mixed $data
* @return array
*/
public function error(int $errorCode, string $msg, $data=null) {
return [
'errorCode' => $errorCode,
'msg' => $msg,
'data' => $data,
];
}
/**
* 业务层-正确时响应
*
* @param mixed $data
......
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