release: 3.7.参与抽奖(APP) 不强制要求区域ID

release-2024-04-25
huangyw 2 months ago
parent 0ffad65ad8
commit 582bc72be3

@ -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<Void> participate(@RequestHeader("Authorization") String token, @NotNull String id,
@NotNull Integer regionId) {
Integer regionId) {
lotteryService.participate(id, token, regionId);
return Result.success();
}

Loading…
Cancel
Save