Explorar el Código

Wesmiler 校企小程序 更新 6.15

wesmiler hace 3 años
padre
commit
71e4124991
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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
      */
     public static function setIncViews($id){
-        (new static())->setInc(['speciality_id'=> $id], 'views', 1);
+        (new static())->setInc(['id'=> $id], 'views', 1);
     }
 }