wangxin 2 kuukautta sitten
vanhempi
commit
56303b4f67

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