解决任务状态任务异常
This commit is contained in:
@ -560,7 +560,7 @@ func (s *sTask) GetTaskList(ctx context.Context, in *model.GetTaskListV2In) (out
|
|||||||
updateData.IssueQuantity = quantity
|
updateData.IssueQuantity = quantity
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if _, err := dao.UserTaskRewards.Ctx(ctx).Data(updateData).Update(); err != nil {
|
if _, err := dao.UserTaskRewards.Ctx(ctx).Data(updateData).Where(do.UserTaskRewards{Id: record["id"].Int64()}).Update(); err != nil {
|
||||||
return ecode.Fail.Sub("修改用户任务奖励失败")
|
return ecode.Fail.Sub("修改用户任务奖励失败")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user