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