From 4f9707811eef19b7c9f59d587d05208b40a23b54 Mon Sep 17 00:00:00 2001 From: Pu Zhibing <393733352@qq.com> Date: 星期四, 10 七月 2025 17:35:02 +0800 Subject: [PATCH] 增加redis锁 --- ZuulZYTravel/src/main/java/com/sinata/zuul/controller/RedisController.java | 14 -------------- 1 files changed, 0 insertions(+), 14 deletions(-) diff --git a/ZuulZYTravel/src/main/java/com/sinata/zuul/controller/RedisController.java b/ZuulZYTravel/src/main/java/com/sinata/zuul/controller/RedisController.java index 4866ef5..73ae614 100644 --- a/ZuulZYTravel/src/main/java/com/sinata/zuul/controller/RedisController.java +++ b/ZuulZYTravel/src/main/java/com/sinata/zuul/controller/RedisController.java @@ -33,20 +33,6 @@ } - /** - * 批量获取 - * @param keys - * @return - */ - @ResponseBody - @PostMapping("/getValues") - public String getValues(String keys){ - String[] split = keys.split(","); - List<String> list = Arrays.asList(split); - List<Object> values = redisUtil.getValues(list); - return JSON.toJSONString(ResultUtil.success(values)); - } - /** * 存值 -- Gitblit v1.7.1