From 3f1e1cbe6435918a85f36c04f98c0fdf98926457 Mon Sep 17 00:00:00 2001 From: lyt Date: Thu, 18 Jan 2018 10:02:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E9=94=AE=E8=AF=8D=20=E5=9B=BE?= =?UTF-8?q?=E6=A0=87=E4=B8=8D=E6=98=BE=E7=A4=BA151?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/keyworlds.php | 2 ++ application/views/keyworlds/index.php | 1 + 2 files changed, 3 insertions(+) diff --git a/application/controllers/keyworlds.php b/application/controllers/keyworlds.php index c8cfbc11..45c3399f 100644 --- a/application/controllers/keyworlds.php +++ b/application/controllers/keyworlds.php @@ -103,6 +103,7 @@ class Keyworlds extends CI_Controller { // 每个点 foreach ($ra as $v) { $kwr_rank = $v->kwr_rank ? $v->kwr_rank : 'null'; + $kwr_rank = ($v->kwr_rank==151) ? 'null' : $v->kwr_rank; if ($v->kwr_rank == '>150') { $kwr_rank = 100; } @@ -115,6 +116,7 @@ class Keyworlds extends CI_Controller { $data['rank_json'] .='{"name":"' . $ra[$data_time[0]]->kw_keyworlds . '(mobile)","data":['; foreach ($ra as $v) { $kwr_mobile_rank = $v->kwr_mobile_rank ? $v->kwr_mobile_rank : 'null' ; + $kwr_mobile_rank = ($v->kwr_mobile_rank==151) ? 'null' : $v->kwr_mobile_rank; if ($v->kwr_mobile_rank == '>150') { $kwr_mobile_rank = 100; } diff --git a/application/views/keyworlds/index.php b/application/views/keyworlds/index.php index b473dfb0..984e53fd 100644 --- a/application/views/keyworlds/index.php +++ b/application/views/keyworlds/index.php @@ -43,6 +43,7 @@
排名情况 +