dever 6 years ago
parent
commit
43f3d3c03d
1 changed files with 4 additions and 0 deletions
  1. 4 0
      main/src/View.php

+ 4 - 0
main/src/View.php

@@ -35,6 +35,10 @@ class View extends Core
             Dever::alert('错误的'.$name.'ID');
         }
 
+        if ($this->data['info']['num_view'] > 100000) {
+            $this->data['info']['num_view'] = '10w+';
+        }
+
         # 获取评论列表
         $this->data['comment'] = Dever::load('act/lib/comment')->get($id, $type);