用户任务记录新增字段记录领取任务账号 id

This commit is contained in:
2025-07-10 15:26:07 +08:00
parent 4b3dcac324
commit b2df628923
9 changed files with 19 additions and 6 deletions

View File

@ -87,6 +87,7 @@ type GetTaskReq struct {
TaskName string `json:"taskName" v:"required#任务名称不能为空" dc:"任务名称"`
TaskType int `json:"taskType" v:"required#任务类型不能为空" dc:"任务类型1每日 3周期"`
UserTimes int `json:"userTimes" v:"required#完成次数不能为空" dc:"用户完成次数"`
BindType int `json:"bindType" v:"required#不能为空" dc:"绑定类型 1: QQ 2:微信"`
}
type GetTaskRes struct {
@ -102,6 +103,7 @@ type GetUserTaskRecordsListReq struct {
Page int `json:"page" dc:"页数"`
Size int `json:"size" dc:"条数"`
TimeType int `json:"timeType" dc:"时间类型,1:一周,2:一月,3:一年, 不传就是不加时间限制"` //TODO
BindType int `json:"bindType" v:"required#不能为空" dc:"绑定类型 1: QQ 2:微信"`
}
type GetUserTaskRecordsListRes struct {
List interface{} `json:"list"`