改进Model类的getData和getAttr方法 不存在的属性抛出异常

修正Route类闭包的路由参数获取
This commit is contained in:
thinkphp
2016-07-06 15:12:55 +08:00
parent 3745531d6f
commit a05cb7a1ab
3 changed files with 27 additions and 16 deletions

View File

@@ -25,6 +25,7 @@ return [
'module not exists' => '模块不存在',
'controller not exists' => '控制器不存在',
'class not exists' => '类不存在',
'property not exists' => '类的属性不存在',
'template not exists' => '模板文件不存在',
'illegal controller name' => '非法的控制器名称',
'illegal action name' => '非法的操作名称',