|
@@ -311,7 +311,8 @@ class CmsContentTemplateSetRepository
|
|
|
// }
|
|
|
|
|
|
if (!Redis::exists($exchange_key)) {
|
|
|
- Redis::setex($exchange_key, 600, json_encode($group_array));//10分钟过期
|
|
|
+// Redis::setex($exchange_key, 600, json_encode($group_array));//10分钟过期
|
|
|
+ Redis::setex($exchange_key, 60, json_encode($group_array));//1分钟过期
|
|
|
Log::debug('兑换商城缓存存储成功-' . json_encode($group_array));
|
|
|
}
|
|
|
|
|
@@ -373,7 +374,8 @@ class CmsContentTemplateSetRepository
|
|
|
// Cache::store('redis')->put($product_key, $http, 600);//10分钟过期
|
|
|
// }
|
|
|
if (!Redis::exists($product_key)) {
|
|
|
- Redis::setex($product_key, 600, json_encode($http));//10分钟过期
|
|
|
+// Redis::setex($product_key, 600, json_encode($http));//10分钟过期
|
|
|
+ Redis::setex($product_key, 60, json_encode($http));//1分钟过期
|
|
|
Log::debug('专题商品缓存存储成功-' . json_encode($http));
|
|
|
}
|
|
|
return $http;
|