Kirin 2 年之前
父节点
当前提交
241f8e2537
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/models/user/Cert.php

+ 1 - 1
app/models/user/Cert.php

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