feature/main20240421
郭嘉 8 months ago
parent 0c6de43edf
commit bb7cc58a7b
  1. 3
      app/common/model/Payment.php

@ -85,6 +85,9 @@ class Payment extends BaseModel
$model = new static; $model = new static;
// 默认的支付方式数据 // 默认的支付方式数据
$defaultData = $model->defaultData(); $defaultData = $model->defaultData();
if (empty($merchantId)) {
$merchantId = 0;
}
if (!$data = Cache::get("11payment_{$storeId}_{$merchantId}")) { if (!$data = Cache::get("11payment_{$storeId}_{$merchantId}")) {
// 获取所有支付方式 // 获取所有支付方式
$data = $model->dataByStorage($storeId, $defaultData, $merchantId); $data = $model->dataByStorage($storeId, $defaultData, $merchantId);

Loading…
Cancel
Save