改进response类

This commit is contained in:
thinkphp
2016-05-11 14:04:56 +08:00
parent fce80eb623
commit 7f385217b9
7 changed files with 94 additions and 119 deletions

View File

@@ -111,7 +111,7 @@ class App
// 监听app_end
APP_HOOK && Hook::listen('app_end', $data);
// 自动响应输出
return Response::send($data, '', Config::get('response_return'));
return Response::instance()->send($data, '', Config::get('response_return'));
}
}
}