pull/1/head
wanghousheng 12 months ago
parent 250569828a
commit ffa317fc66
  1. 2
      app/api/model/RecoveryImage.php

@ -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);
}

Loading…
Cancel
Save