dever 6 năm trước cách đây
mục cha
commit
3fd66191b4
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      main/src/Journal.php

+ 3 - 0
main/src/Journal.php

@@ -376,6 +376,9 @@ class Journal extends Core
             $this->data['content'] = array();
         }
 
+        # 浏览量+1
+        Dever::db('journal/info')->addView($id);
+
         return $this->data;
     }