| | |
| | | package com.ruoyi.project.monitor.controller;
|
| | |
|
| | | import java.util.List;
|
| | | import javax.servlet.http.HttpServletResponse;
|
| | | import jakarta.servlet.http.HttpServletResponse;
|
| | | import org.springframework.beans.factory.annotation.Autowired;
|
| | | import org.springframework.security.access.prepost.PreAuthorize;
|
| | | import org.springframework.web.bind.annotation.DeleteMapping;
|
| | |
| | |
|
| | | @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);
|