任务奖励 实物领取

月任务抽奖
This commit is contained in:
2025-01-20 15:16:15 +08:00
parent feddf2a8de
commit 775da894a7
2 changed files with 3 additions and 3 deletions

View File

@@ -124,7 +124,7 @@ public class TaskCenterController {
@ApiImplicitParam(name = "sourceId", value = "实物(物品Id)", dataTypeClass = Long.class, paramType = "body")
})
@Debounce(interval = 600000, value = "#userId,#record.taskId")
public Result receiveGoods(@ApiIgnore @RequestAttribute("userId") Long userId,@ApiIgnore TaskCenterRecord record) {
public Result receiveGoods(@ApiIgnore @RequestAttribute("userId") Long userId,@ApiIgnore @RequestBody TaskCenterRecord record) {
TaskCenter task = taskCenterService.getById(record.getTaskId());
if (Objects.isNull(task)) {
return Result.error("任务不存在。");