Browse Source

Wesmiler 校企小程序 更新 6.15

wesmiler 4 years ago
parent
commit
3e08cd5d6a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/api/model/School.php

+ 1 - 1
app/api/model/School.php

@@ -181,7 +181,7 @@ class School extends SchoolModel
         }
 
         if(is_int($where)){
-            self::setIncViews((int)$where);
+            (new static())->setIncViews((int)$where);
         }
 
         return $data;