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);