refactor: 修改同步产品更新产品名称

This commit is contained in:
2025-04-11 14:19:35 +08:00
parent 92fc444cd8
commit 9bdbdebc39

View File

@@ -223,9 +223,6 @@ class ReceiveSync extends Base
}
}
// 不更新产品名称
unset($record['name']);
$record['updatetime'] = time();
$ok = $query->name('product')->where('id', '=', $mp['id'])->update($record);
if (!$ok) {