diff --git a/common/models/agent/Auto_product_city_model.php b/common/models/agent/Auto_product_city_model.php index 194471f0..8082a0f8 100644 --- a/common/models/agent/Auto_product_city_model.php +++ b/common/models/agent/Auto_product_city_model.php @@ -29,7 +29,7 @@ class Auto_product_city_model extends HD_Model } is_array($replace_batch) && $this->replace_batch($replace_batch); } else { - $this->delete(['product_id' => $productId]); + $this->delete(['productId' => $productId]); } return true; }