guyue
2025-08-15 7c1335ff559c08bbcef479bd2b01a08a1f4e55f2
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);