优化方法名
This commit is contained in:
parent
cac3ac7c0a
commit
fdbdb0261e
|
|
@ -30,7 +30,7 @@ public class CaptchaController {
|
|||
private final ReactiveRedisOperations<String, String> redis;
|
||||
|
||||
@GetMapping("/config")
|
||||
public Mono<CaptchaConfig> createCaptcha() {
|
||||
public Mono<CaptchaConfig> getCaptcha() {
|
||||
CaptchaConfig captchaConfig=new CaptchaConfig();
|
||||
captchaConfig.setEnabled(properties.isEnabled());
|
||||
captchaConfig.setType(properties.getType().name());
|
||||
|
|
|
|||
Loading…
Reference in New Issue