dever 4 år sedan
förälder
incheckning
e1fe2d8f4d
2 ändrade filer med 1 tillägg och 2 borttagningar
  1. 1 1
      app/collection/lib/Core.php
  2. 0 1
      app/collection/src/Api.php

+ 1 - 1
app/collection/lib/Core.php

@@ -103,7 +103,7 @@ class Core
     # 检查是否可以查看
     protected function checkView()
     {
-        if (!$this->uid) {
+        if ($this->uid < 1) {
             return false;
         }
         if (!$this->info) {

+ 0 - 1
app/collection/src/Api.php

@@ -293,7 +293,6 @@ class Api extends Core
         # 滑动到多少时,加载下一页
         $data['total'] = count($data['items']) - 2;
 
-        
         $data['func'] = $this->getFunc();
 
         # 更新阅读数