wangxin 2 달 전
부모
커밋
56303b4f67
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/main/java/cn/ezhizao/project/tool/swagger/TestController.java

+ 2 - 2
src/main/java/cn/ezhizao/project/tool/swagger/TestController.java

@@ -35,8 +35,8 @@ public class TestController extends BaseController
         return R.ok(userList);
     }
 
-//    @ApiOperation("获取用户详细")
-//    @ApiImplicitParam(name = "userId", value = "用户ID", required = true, dataType = "int", paramType = "path", dataTypeClass = Integer.class)
+    @ApiOperation("获取用户详细")
+    @ApiImplicitParam(name = "userId", value = "用户ID", required = true, dataType = "int", paramType = "path", dataTypeClass = Integer.class)
     @GetMapping("/{userId}")
     public R<UserEntity> getUser(@PathVariable Integer userId)
     {