for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// | Copyright (c) 2006~2019 http://thinkphp.cn All rights reserved.
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// | Author: liu21st <[email protected]>
namespace think\response;
use think\Response;
class Jump extends Response
{
protected $contentType = 'text/html';
/**
* 处理数据
* @access protected
* @param mixed $data 要处理的数据
* @return string
* @throws \Exception
*/
protected function output($data): string
return \think\facade\View::assign($data)
->fetch($this->options['jump_template']);
}