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(); } /**