guyue
2025-08-12 ff1fec7eae681e89e607fd441d2597ab67b5ed2a
src/main/java/com/linghu/controller/AuthController.java
@@ -32,7 +32,7 @@
    }
    @GetMapping("/getToken")
    @ApiOperation(value = "获取token")
    public ResponseEntity<?> getToken( String user) {
    public ResponseEntity<?> getToken(@RequestParam(value = "user" ) String user) {
        // 创建JwtUtils对象,并生成JWT令牌
        OpenCryptUtil openCryptUtil = new OpenCryptUtil();
        String decrypt = openCryptUtil.encrypt(user);