|
|
|
@ -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();
|
|
|
|
|
}
|
|
|
|
|