diff --git a/luoo_user/src/main/java/com/luoo/user/controller/PointController.java b/luoo_user/src/main/java/com/luoo/user/controller/PointController.java index 6bcf859..495dc70 100644 --- a/luoo_user/src/main/java/com/luoo/user/controller/PointController.java +++ b/luoo_user/src/main/java/com/luoo/user/controller/PointController.java @@ -339,10 +339,10 @@ public class PointController { @ApiImplicitParams({ @ApiImplicitParam(name = "Authorization", value = "token", required = true, dataType = "String", paramType = "header"), @ApiImplicitParam(name = "id", value = "抽奖id", required = true, dataType = "String", paramType = "query"), - @ApiImplicitParam(name = "regionId", value = "区域id", required = true, dataType = "Integer", paramType = "query") + @ApiImplicitParam(name = "regionId", value = "区域id", required = false, dataType = "Integer", paramType = "query") }) public Result participate(@RequestHeader("Authorization") String token, @NotNull String id, - @NotNull Integer regionId) { + Integer regionId) { lotteryService.participate(id, token, regionId); return Result.success(); }