获取上传频率数据接口返回格式修改

This commit is contained in:
zhanghan11 2024-04-16 10:51:57 +08:00
parent 495c864d0b
commit 8c2aa4c303

View File

@ -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<String, Object> getSharedKeys() {
return configService.selectSharedKeys();
}
/**