wugg 2 年之前
父节点
当前提交
cf05e33014
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/admin/controller/Goodup.php

+ 1 - 1
app/admin/controller/Goodup.php

@@ -1135,7 +1135,7 @@ class Goodup extends Base
 
 
             Db::name("good_basic")
-                ->where(['id' => $good_basic['id'], 'is_del' => 0])
+                ->where(["spuCode" => $supcode, 'is_del' => 0])
                 ->update(['is_del' => 1, 'updatetime' => date('Y-m-d H:i:s')]);
 
             Db::name("good")