|
|
@@ -112,6 +112,7 @@ public class TaskService implements TaskServiceInterface {
|
|
|
task.setTitle(dto.getTitle());
|
|
|
task.setDescription(dto.getDescription());
|
|
|
task.setPoints(dto.getPoints() != null ? dto.getPoints() : 2);
|
|
|
+ task.setDuration(dto.getDuration());
|
|
|
|
|
|
// 处理小游戏任务
|
|
|
task.setMinigameCode(dto.getMinigameCode());
|