update 同步ruoyi

This commit is contained in:
疯狂的狮子li
2022-08-08 10:35:08 +08:00
11 changed files with 228 additions and 23 deletions

View File

@@ -73,4 +73,12 @@ public class SysLogininforController extends BaseController {
return R.ok();
}
@SaCheckPermission("system:logininfor:unlock")
@Log(title = "账户解锁", businessType = BusinessType.OTHER)
@GetMapping("/unlock/{userName}")
public AjaxResult unlock(@PathVariable("userName") String userName) {
redisService.deleteObject(CacheConstants.PWD_ERR_CNT_KEY + userName);
return success();
}
}