Browse Source

Wesmiler 校企小程序 更新 6.15

wesmiler 3 years ago
parent
commit
71e4124991
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/common/model/School.php

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

@@ -230,6 +230,6 @@ class School extends BaseModel
      * @param $id
      * @param $id
      */
      */
     public static function setIncViews($id){
     public static function setIncViews($id){
-        (new static())->setInc(['speciality_id'=> $id], 'views', 1);
+        (new static())->setInc(['id'=> $id], 'views', 1);
     }
     }
 }
 }