作者 杨育虎

接口文档详情地址

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