fix: 账户解锁接口去掉多余的 /

This commit is contained in:
iacker 2022-08-08 13:55:08 +00:00 committed by Gitee
parent cbedec7ca6
commit 3f7bf545b5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -73,7 +73,7 @@ public class SysLogininforController extends BaseController
@PreAuthorize("@ss.hasPermi('monitor:logininfor:unlock')")
@Log(title = "账户解锁", businessType = BusinessType.OTHER)
@GetMapping("/unlock//{userName}")
@GetMapping("/unlock/{userName}")
public AjaxResult unlock(@PathVariable("userName") String userName)
{
passwordService.clearLoginRecordCache(userName);