Showing
2 changed files
with
2 additions
and
2 deletions
@@ -281,7 +281,7 @@ class CouponFloorProcess | @@ -281,7 +281,7 @@ class CouponFloorProcess | ||
281 | 'url' => Helpers::getUrlBySkc($product['product_id'], $goods_id, $product['cn_alphabet']), | 281 | 'url' => Helpers::getUrlBySkc($product['product_id'], $goods_id, $product['cn_alphabet']), |
282 | ); | 282 | ); |
283 | } | 283 | } |
284 | - Cache::set($key, $data, 600); | 284 | + Cache::set($key, $data, 300); |
285 | } | 285 | } |
286 | return $data; | 286 | return $data; |
287 | } | 287 | } |
@@ -630,7 +630,7 @@ class UserModel | @@ -630,7 +630,7 @@ class UserModel | ||
630 | } | 630 | } |
631 | // 接口调用正常,数据封装完成, 则设置一级(master)和二级(slave)数据缓存 | 631 | // 接口调用正常,数据封装完成, 则设置一级(master)和二级(slave)数据缓存 |
632 | else { | 632 | else { |
633 | - Cache::set($key, $result, 1800); // 缓存30分钟 | 633 | + Cache::set($key, $result, 300); // 缓存5分钟 |
634 | } | 634 | } |
635 | } | 635 | } |
636 | 636 |
-
Please register or login to post a comment