TP5框架 之ajax返回html模板 一、示例代码 public function html() { return Response::create($this->fetch('setting'), 'html')->code(200); }