Преглед на файлове

[智价云] 违规商品删除更新

tangyuanwang преди 2 месеца
родител
ревизия
655a7e9075
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/Http/Controllers/Manager/Process/ViolationProduct.php

+ 1 - 1
app/Http/Controllers/Manager/Process/ViolationProduct.php

@@ -573,7 +573,7 @@ class ViolationProduct extends Controller
         // 查询用户
         // 查询用户
         $where = ['id' => $id];
         $where = ['id' => $id];
         // 执行删除
         // 执行删除
-        $result =  $ViolationProductModel->deleteLowPriceGoods($where);
+        $result =  $ViolationProductModel->deleteViolationProduct($where);
         // 提示删除失败
         // 提示删除失败
         if (!$result)    return json_send(['code' => 'error', 'msg' => '删除失败']);
         if (!$result)    return json_send(['code' => 'error', 'msg' => '删除失败']);
         // 告知结果
         // 告知结果