作者 杨育虎

接口文档详情地址

... ... @@ -106,7 +106,7 @@ class DocController
*/
protected function show($name, $vars = [], $config = [])
{
$vars = array_merge(['root'=>$this->root], $vars);
$vars = array_merge(['root'=> $this->request->domain().$this->root], $vars);
return $this->view->fetch($name, $vars, $config);
}
... ...