update 同步 ruoyi

This commit is contained in:
疯狂的狮子li
2022-07-27 18:34:45 +08:00
24 changed files with 318 additions and 267 deletions

View File

@ -79,9 +79,9 @@ public class CaptchaController {
@GetMapping("/captchaImage")
public R<Map<String, Object>> getCode() {
Map<String, Object> ajax = new HashMap<>();
boolean captchaOnOff = configService.selectCaptchaOnOff();
ajax.put("captchaOnOff", captchaOnOff);
if (!captchaOnOff) {
boolean captchaEnabled = configService.selectCaptchaEnabled();
ajax.put("captchaEnabled", captchaEnabled);
if (!captchaEnabled) {
return R.ok(ajax);
}
// 保存验证码信息

View File

@ -87,8 +87,8 @@ public class CacheController {
@SaCheckPermission("monitor:cache:list")
@GetMapping("/getKeys/{cacheName}")
public R<Collection<String>> getCacheKeys(@PathVariable String cacheName) {
Collection<String> cacheKyes = RedisUtils.keys(cacheName + "*");
return R.ok(cacheKyes);
Collection<String> cacheKeys = RedisUtils.keys(cacheName + "*");
return R.ok(cacheKeys);
}
/**