...
|
...
|
@@ -999,8 +999,11 @@ func (taskService *TaskService) GetTask(getTaskQuery *query.GetTaskQuery) (inter |
|
|
if err := transactionContext.CommitTransaction(); err != nil {
|
|
|
return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error())
|
|
|
}
|
|
|
// TODO 返回任务素币奖励范围
|
|
|
|
|
|
// 返回任务素币奖励范围
|
|
|
if taskDto.TaskStatus != 5 && taskDto.MinSuMoney == 0 && taskDto.MaxSuMoney == 0 {
|
|
|
taskDto.MinSuMoney = 0
|
|
|
taskDto.MaxSuMoney = taskDto.SuMoney
|
|
|
}
|
|
|
return taskDto, nil
|
|
|
}
|
|
|
}
|
...
|
...
|
|