@@ -76,7 +76,7 @@ class Cert extends BaseModel
}
if (isset($where['uid']) && $where['uid'] != '') {
- $model = self::where('uid', $where['uid']);
+ $model = $model->where('uid', $where['uid']);
$count = $model->count();