From 63ef162b62ddfd6c7ad8b4f3e66075c3f01de621 Mon Sep 17 00:00:00 2001 From: yujian <yujian> Date: 星期五, 26 四月 2019 14:22:49 +0800 Subject: [PATCH] 品牌分类删除,同时删除引用分类商品关系 --- fanli/src/main/java/com/yeshi/fanli/util/RedisManager.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/util/RedisManager.java b/fanli/src/main/java/com/yeshi/fanli/util/RedisManager.java index d69c2b9..8e53740 100644 --- a/fanli/src/main/java/com/yeshi/fanli/util/RedisManager.java +++ b/fanli/src/main/java/com/yeshi/fanli/util/RedisManager.java @@ -114,7 +114,7 @@ public void expire(String key,int seconds) { Jedis jedis = jedisPool.getResource(); try { - jedis.expire(key, 15); + jedis.expire(key, seconds); } finally { jedisPool.returnResource(jedis); } -- Gitblit v1.8.0