whyclxw
2024-11-07 4f9cb11aaa56a63e84c619203a9d34e68b2c47cf
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);
    }
}