Compare commits

...

2 Commits

Author SHA1 Message Date
9113dab102 Merge remote-tracking branch 'origin/master' 2025-07-11 09:21:11 +08:00
1fd809ebfe 解决任务状态任务异常 2025-07-11 09:21:01 +08:00

View File

@ -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("修改用户任务奖励失败")
} }
} }