feature/main20240421
郭嘉 6 months ago
parent de112a0dfa
commit 5390622114
  1. 1
      app/common/model/Payment.php
  2. 2
      app/store/model/Payment.php

@ -124,6 +124,7 @@ class Payment extends BaseModel
foreach ($data as &$item) {
$item['methods'] = array_values($item['methods']);
}
unset($item);
return $data;
}

@ -36,7 +36,7 @@ class Payment extends PaymentModel
// 批量写入商品图片记录
$res = static::increased($dataList);
// 删除系统设置缓存
Cache::delete('payment_' . self::$storeId);
Cache::delete('payment_' . self::$storeId."_".$merchantId);
return true;
}

Loading…
Cancel
Save