@ -25,7 +25,7 @@ class RecoveryImage extends BaseRecoveryImage
public static function updates(int $recoveryId, array $imageIds)
{
// 删除所有的sku记录
static::deleteAll(['goods_id' => $recoveryId]);
static::deleteAll(['recovery_id' => $recoveryId]);
// 批量写入商品图片记录
return static::increased($recoveryId, $imageIds);
}