获取上传频率数据接口返回格式修改
This commit is contained in:
parent
495c864d0b
commit
8c2aa4c303
@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user