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

Merge pull request !547 from iacker/N/A
This commit is contained in:
若依 2022-08-08 23:44:57 +00:00 committed by Gitee
commit 8c7b93ec4f
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')") @PreAuthorize("@ss.hasPermi('monitor:logininfor:unlock')")
@Log(title = "账户解锁", businessType = BusinessType.OTHER) @Log(title = "账户解锁", businessType = BusinessType.OTHER)
@GetMapping("/unlock//{userName}") @GetMapping("/unlock/{userName}")
public AjaxResult unlock(@PathVariable("userName") String userName) public AjaxResult unlock(@PathVariable("userName") String userName)
{ {
passwordService.clearLoginRecordCache(userName); passwordService.clearLoginRecordCache(userName);