更新
This commit is contained in:
@@ -18,10 +18,17 @@ class PerformanceDashboardController extends BaseAdminController
|
||||
{
|
||||
@set_time_limit(120);
|
||||
|
||||
return $this->data(PerformanceDashboardLogic::overview(
|
||||
$response = $this->data(PerformanceDashboardLogic::overview(
|
||||
$this->adminId,
|
||||
$this->adminInfo,
|
||||
$this->request->get()
|
||||
));
|
||||
|
||||
// 驾驶舱包含分钟级实时数据,禁止浏览器和中间代理缓存旧统计结果。
|
||||
return $response->header([
|
||||
'Cache-Control' => 'no-store, no-cache, must-revalidate, max-age=0',
|
||||
'Pragma' => 'no-cache',
|
||||
'Expires' => '0',
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user