mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
改进Handle类支持异常的多语言 Lang类增加has方法 增加核心中文语言包
This commit is contained in:
@@ -39,7 +39,7 @@ trait Instance
|
||||
if (0 === strpos($method, '_') && is_callable([self::$instance, $call])) {
|
||||
return call_user_func_array([self::$instance, $call], $params);
|
||||
} else {
|
||||
throw new Exception("not exists method:" . $method);
|
||||
throw new Exception("method not exists:" . $method);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user