From 8c2aa4c303c2a02f0b195e6826aa4f79eed27a30 Mon Sep 17 00:00:00 2001 From: zhanghan11 Date: Tue, 16 Apr 2024 10:51:57 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=8F=96=E4=B8=8A=E4=BC=A0=E9=A2=91?= =?UTF-8?q?=E7=8E=87=E6=95=B0=E6=8D=AE=E6=8E=A5=E5=8F=A3=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/inspur/web/controller/common/CaptchaController.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tzipc-server/tzipc-admin/src/main/java/com/inspur/web/controller/common/CaptchaController.java b/tzipc-server/tzipc-admin/src/main/java/com/inspur/web/controller/common/CaptchaController.java index f1ba289..4809a04 100644 --- a/tzipc-server/tzipc-admin/src/main/java/com/inspur/web/controller/common/CaptchaController.java +++ b/tzipc-server/tzipc-admin/src/main/java/com/inspur/web/controller/common/CaptchaController.java @@ -2,6 +2,7 @@ package com.inspur.web.controller.common; import java.awt.image.BufferedImage; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Resource; import javax.imageio.ImageIO; @@ -52,8 +53,8 @@ public class CaptchaController * 获取上传频率 */ @GetMapping("/sharedKeys") - public AjaxResult getSharedKeys() { - return AjaxResult.success(configService.selectSharedKeys()); + public Map getSharedKeys() { + return configService.selectSharedKeys(); } /**