whyclxw
2024-10-30 a53752297fc92f58954bd99b5905c0dc4dc8f8f2
src/main/java/com/whyc/controller/LoginController.java
@@ -21,7 +21,7 @@
    private UserInfService service;
    @PostMapping("login")
    @GetMapping("login")
    @ApiOperation(value ="登录")
    public Response login(@RequestParam String uname, String usnId, HttpServletRequest request){
        return service.login(uname,usnId,request);
@@ -41,4 +41,10 @@
        service.logout();
    }
    @ApiOperation(value = "cookie点击")
    @GetMapping("getCookie")
    public Response getCookie() {
        return new Response().set(1, true);
    }
}