Commit 740d3422 by 王召彬

test

parent 6dc9f7c2
...@@ -24,8 +24,8 @@ class BaseException extends Exception ...@@ -24,8 +24,8 @@ class BaseException extends Exception
$this->message = $params['msg']; $this->message = $params['msg'];
} }
if(isset($params['error_code'])){ if(isset($params['errorCode'])){
$this->errorCode = $params['error_code']; $this->errorCode = $params['errorCode'];
} }
parent::__construct($this->message, $this->code); parent::__construct($this->message, $this->code);
......
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