mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-05 22:52:49 +08:00
Controller类增加batchValidate属性 validate方法增加batch参数,用于设置是否批量验证
异常类改进
This commit is contained in:
@@ -72,7 +72,7 @@ class Think
|
||||
}
|
||||
// 模板不存在 抛出异常
|
||||
if (!is_file($template)) {
|
||||
throw new TemplateNotFoundException('template file not exists:' . $template);
|
||||
throw new TemplateNotFoundException('template file not exists:' . $template, $template);
|
||||
}
|
||||
// 记录视图信息
|
||||
APP_DEBUG && Log::record('[ VIEW ] ' . $template . ' [ ' . var_export(array_keys($data), true) . ' ]', 'info');
|
||||
|
||||
Reference in New Issue
Block a user