Commit 728e07c9 authored by shajiaiming's avatar shajiaiming

fix

parent eb6d53b3
......@@ -32,7 +32,7 @@ class ErrorMessage extends Component
*/
public static function getMessage($msg)
{
$message = isset(self::$errors[$msg]) ? self::$errors[$msg] : '未知错误';
$message = isset(self::$errors[$msg]) ? self::$errors[$msg] : $msg;
return $message;
}
}
\ No newline at end of file
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