修复账户解锁接口请求路径错误的问题

This commit is contained in:
Rain
2022-08-08 15:00:41 +00:00
committed by Gitee
parent c8a108b93a
commit 9d21b1627b

View File

@@ -76,7 +76,7 @@ public class SysLogininforController extends BaseController
@RequiresPermissions("system:logininfor:unlock")
@Log(title = "账户解锁", businessType = BusinessType.OTHER)
@GetMapping("/unlock//{userName}")
@GetMapping("/unlock/{userName}")
public AjaxResult unlock(@PathVariable("userName") String userName)
{
redisService.deleteObject(CacheConstants.PWD_ERR_CNT_KEY + userName);