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