From cd6bfb2a3a6b942f43253b24cef8461593dec60f Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期一, 26 六月 2023 23:37:21 +0800 Subject: [PATCH] add 新增 RedisUtils.setObjectIfAbsent 如果不存在则设置 方法 --- ruoyi-admin/src/main/java/org/dromara/web/controller/AuthController.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-admin/src/main/java/org/dromara/web/controller/AuthController.java b/ruoyi-admin/src/main/java/org/dromara/web/controller/AuthController.java index 41a5362..51160aa 100644 --- a/ruoyi-admin/src/main/java/org/dromara/web/controller/AuthController.java +++ b/ruoyi-admin/src/main/java/org/dromara/web/controller/AuthController.java @@ -157,8 +157,8 @@ * @return 缁撴灉 */ @SuppressWarnings("unchecked") - @GetMapping("/social-login/{source}") - public R<String> socialLogin(@PathVariable("source") String source, AuthCallback callback) { + @GetMapping("/social-login") + public R<String> socialLogin(String source, AuthCallback callback) { SocialLoginConfigProperties obj = socialProperties.getType().get(source); if (ObjectUtil.isNull(obj)) { return R.fail(source + "骞冲彴璐﹀彿鏆備笉鏀寔"); -- Gitblit v1.9.3