You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
2.3 KiB
67 lines
2.3 KiB
package request
|
|
|
|
type SearchMission struct {
|
|
PageInfo
|
|
}
|
|
|
|
type SearchMissionClaim struct {
|
|
MissionStatus int `json:"-"`
|
|
HireType int `json:"hire_type" form:"hire_type"` // 佣金类型 1:固定佣金 2:比例抽成
|
|
VideoUpload int `json:"video_upload" form:"video_upload"` //是否筛选上传视频 1是
|
|
ExcludeIds []uint `json:"-"` //排除ID
|
|
PageInfo
|
|
}
|
|
|
|
type ClaimMission struct {
|
|
MissionId uint `json:"mission_id"` //任务id
|
|
AddressId uint `json:"address_id"` //收货地址id
|
|
SpuNo string `json:"spu_no"` //商品spu_no
|
|
SkuNo string `json:"sku_no"` //商品sku_no
|
|
Email string `json:"email"` //邮箱地址
|
|
}
|
|
|
|
type MissionId struct {
|
|
MissionId uint `json:"mission_id"` //任务
|
|
}
|
|
|
|
type MissionCode struct {
|
|
Code string `json:"code" form:"code"` //任务编码
|
|
}
|
|
|
|
type ClaimMissionWorks struct {
|
|
ID uint `json:"id"` //id
|
|
Type int `json:"type"` //平台 1:ins 2:Pinterest 3:tk 4:Twitter 5:Facebook 6:Reddit
|
|
Homepage string `json:"homepage"` //作品主页地址
|
|
Image string `json:"image"` //作品凭证截图
|
|
VideoUrl string `json:"video_url"` //视频上传地址
|
|
}
|
|
|
|
type ClaimMissionWorksList struct {
|
|
MissionClaimId uint `json:"mission_claim_id"` //领取任务id
|
|
Works []ClaimMissionWorks `json:"works"` //作品列表
|
|
}
|
|
|
|
type ClaimMissionVideo struct {
|
|
MissionClaimId uint `json:"mission_claim_id"` //领取任务id
|
|
VideoUrl string `json:"video_url"` //视频上传地址
|
|
Cover string `json:"cover"`
|
|
SourceType int `json:"source_type"` //类型:1:固定费用上传 2:奖励任务上传 3:后台上传
|
|
Width int `json:"width"` //宽度
|
|
Height int `json:"height"` //高度
|
|
}
|
|
|
|
type AddSysMissionReward struct {
|
|
Type int `json:"type"` //奖励类型 1.视频上传 2.信息完善 3.商家任务
|
|
RelationId string `json:"relationId"` //关联项目id
|
|
AchieveNum int64 `json:"achieve_num"` //已完成任务次数
|
|
CreateBy string `json:"create_by"` //创建人
|
|
}
|
|
|
|
type SearchSysReward struct {
|
|
Status int `form:"status" json:"status"` //状态 1待发放 2已发放 3已领取
|
|
PageInfo
|
|
}
|
|
|
|
type SearchSysRewardSummary struct {
|
|
Status int `form:"status" json:"status"` //状态 1待发放 2已发放 3已领取
|
|
}
|
|
|