作者 邓超

删除文件夹

@@ -203,7 +203,7 @@ class DbPool { @@ -203,7 +203,7 @@ class DbPool {
203 203
204 $sql = "delete from `{$table}` where ".dbUpdate($where); 204 $sql = "delete from `{$table}` where ".dbUpdate($where);
205 205
206 - $query = $this->query($sql); 206 + $query = $this->query([$sql,$where]);
207 207
208 if($query){ 208 if($query){
209 return $query->rowCount(); 209 return $query->rowCount();