Files
51dj_server/models/v/taskmod/app.go
T
2026-10-08 16:50:13 +08:00

12 lines
435 B
Go

package taskmod
type ReceiveTaskReq struct {
TaskID string `json:"taskId" bson:"taskId" binding:"required"` // 任务ID
Type int `json:"type" bson:"type" binding:"required"` // 任务类型 1:每日任务 2:一次性任务 3:成长任务
}
type DoTaskReq struct {
TaskID string `json:"taskId" bson:"taskId" binding:"required"` // 任务ID
Type int `json:"type" bson:"type" binding:"required"` // 任务类型
}