Commit 6a2e9eefb969b6ab0400e3ce8e9ef9ade6d0568e

Authored by teemitop
1 parent 2a44d1e9

首页基本数据展示

@@ -104,7 +104,7 @@ class Index extends Common @@ -104,7 +104,7 @@ class Index extends Common
104 if(Request::isAjax()) { 104 if(Request::isAjax()) {
105 $arr = cache('time_total'); 105 $arr = cache('time_total');
106 106
107 - if($arr){ 107 + if(!$arr){
108 $arr = array(); 108 $arr = array();
109 $time = $this->GetDate(); 109 $time = $this->GetDate();
110 foreach ($time as $key => $value) { 110 foreach ($time as $key => $value) {