mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-05 22:52:49 +08:00
修正Query类 改进Response类 改进异常输出
This commit is contained in:
@@ -347,7 +347,7 @@ function trace($log = '[think]', $level = 'log')
|
||||
function view($template = '', $vars = [], $code = 200)
|
||||
{
|
||||
$response = new \think\response\Html();
|
||||
return $response->data($template)->vars($vars)->code($code);
|
||||
return $response->data($template)->render(true)->vars($vars)->code($code);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user