优化方法名

This commit is contained in:
zhouhao 2020-09-19 23:11:19 +08:00
parent cac3ac7c0a
commit fdbdb0261e
1 changed files with 1 additions and 1 deletions

View File

@ -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());