Sfoglia il codice sorgente

wesmiler 报恩寺项目提交

wesmiler 4 anni fa
parent
commit
1217d302d2
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/Services/EnshrineService.php

+ 1 - 1
app/Services/EnshrineService.php

@@ -519,7 +519,7 @@ class EnshrineService extends BaseService
         }
 
         // 是否未到期
-        $expireTime = ConfigService::make()->getConfigByCode('enshrine_expire_time');
+        $expireTime = ConfigService::make()->getConfigByCode("enshrine_expire_time_{$type}");
         $expireTime = $expireTime ? $expireTime : 0;
         $info = $this->getOrderGoodsInfo($enshrineId, $userId, $type, $goodsInfo->goods_type);
         if ($info) {