Loginlog接口实现+

This commit is contained in:
2023-12-25 17:13:33 +08:00
parent dd5322b2b9
commit ac6e84bb06
5 changed files with 14 additions and 10 deletions

View File

@@ -9,12 +9,14 @@ import org.springframework.web.bind.annotation.RestController;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
@RestController
public class LoginLogsController {
@Autowired
LoginLogsService loginLogsService;
@RequestMapping("/getUserLoginLogs")
public HashMap<Object,Object> getUserLoginLog(LoginLogs loginLogs){
public List<LoginLogs> getUserLoginLog(LoginLogs loginLogs){
if (loginLogs==null){
return null;