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.
109 lines
5.2 KiB
109 lines
5.2 KiB
package request
|
|
|
|
import (
|
|
"pure-admin/model"
|
|
)
|
|
|
|
type AddMissionRecommend struct {
|
|
List []model.MissionRecommend `json:"list"`
|
|
}
|
|
|
|
type SearchMission struct {
|
|
Title string `json:"title" form:"title"` //名称
|
|
Status int `json:"status" form:"status"` //状态 1:未开始 2:进行中 3:已结束
|
|
MissionTime string `json:"mission_time" form:"mission_time"` //筛选任务时间
|
|
VideoChannelId string `json:"video_channel_id" form:"video_channel_id"` //视频发布渠道
|
|
HireType int `json:"hire_type" form:"hire_type"` //佣金类型 1:固定佣金 2:比例抽成
|
|
SellerId string `json:"seller_id" form:"seller_id"` //商家ID
|
|
SellerEmail string `json:"seller_email" form:"seller_email"` //商家邮箱
|
|
MissionId uint `json:"mission_id" form:"mission_id"` //任务ID
|
|
HasVideo int `json:"has_video" form:"has_video"` //是否有视频 1:是 2:否
|
|
PageInfo
|
|
}
|
|
|
|
type SearchMissionVideo struct {
|
|
Title string `json:"title" form:"title"` //名称
|
|
Status int `json:"status" form:"status"` //状态 1:未开始 2:进行中 3:已结束
|
|
MissionTime string `json:"mission_time" form:"mission_time"` //筛选任务时间
|
|
VideoChannelId string `json:"video_channel_id" form:"video_channel_id"` //视频发布渠道
|
|
HireType int `json:"hire_type" form:"hire_type"` //佣金类型 1:固定佣金 2:比例抽成
|
|
SellerId string `json:"seller_id" form:"seller_id"` //商家ID
|
|
MissionId uint `json:"mission_id" form:"mission_id"` //任务ID
|
|
VideoStatus int `json:"video_status" form:"video_status"` //视频状态 1:待审核 2:审核通过 3:审核不通过
|
|
MissionClaimBy string `json:"mission_claim_by" form:"mission_claim_by"` //网红账号
|
|
SourceType int `json:"source_type" form:"source_type"` //类型:1:固定费用上传 2:奖励任务上传 3:后台上传
|
|
SellerEmail string `json:"seller_email" form:"seller_email"` //商家邮箱
|
|
PageInfo
|
|
}
|
|
|
|
type AddMissionVideo struct {
|
|
MissionId uint `json:"mission_id"` //领取任务id
|
|
TagId uint `json:"tag_id"`
|
|
VideoUrl string `json:"video_url"` //视频上传地址
|
|
Cover string `json:"cover"`
|
|
SourceType int `json:"source_type"` //类型:1:固定费用上传 2:奖励任务上传 3:后台上传
|
|
}
|
|
|
|
type EditMissionVideo struct {
|
|
ID uint `json:"id"` //任务视频ID
|
|
TagId uint `json:"tag_id"`
|
|
VideoUrl string `json:"video_url"` //视频上传地址
|
|
Cover string `json:"cover"`
|
|
}
|
|
|
|
type SearchStopMission struct {
|
|
SearchMission
|
|
AuditStatus int `json:"audit_status" form:"audit_status"` //审核状态 1:待审核 2:审核通过 3:审核不通过 4:已审核=审核通过+审核不通过
|
|
}
|
|
|
|
type MissionTags struct {
|
|
MissionId uint `json:"mission_id"` //任务ID
|
|
Value string `json:"value"` //标签值
|
|
Type string `json:"type"` //类型
|
|
TagId uint `json:"tag_id"` //标签ID
|
|
}
|
|
|
|
type SearchMissionClaim struct {
|
|
CreateBy string `json:"-"` //领取人
|
|
MissionId uint `json:"mission_id" form:"mission_id"` //任务id
|
|
Status int `json:"status" form:"status"` //状态 1:已领取待发货 2:已发货 3:已收货推广中
|
|
Uuid string `json:"uuid" form:"uuid"` //网红用户ID
|
|
Title string `json:"title" form:"title"` //任务标题
|
|
PageInfo
|
|
}
|
|
|
|
type SearchSysReward struct {
|
|
Title string `json:"title" form:"title"` //标题
|
|
TimeStart string `json:"time_start" form:"time_start"` //时间起始
|
|
TimeEnd string `json:"time_end" form:"time_end"` //时间结束
|
|
PageInfo
|
|
}
|
|
|
|
type CreateMissionTagRelation struct {
|
|
TagId []uint `json:"tagId"` //标签id
|
|
RelationId string `gorm:"size:50" json:"relationId"` //关联项目id
|
|
RelationType string `gorm:"size:4" json:"relationType"` //关联类型 01-任务 02-任务视频 03-网红
|
|
}
|
|
|
|
type OrderId struct {
|
|
OrderID string `json:"order_id" form:"order_id"` //订单编号
|
|
}
|
|
|
|
type SearchMissionClaimOrder struct {
|
|
OrderID string `json:"order_id" form:"order_id"` //订单id
|
|
Status int `json:"status" form:"status"` //状态 2:待发货 3:已发货
|
|
SpuNo string `json:"spu_no" form:"spu_no"` //商品编号
|
|
AddressName string `json:"address_name" form:"address_name"` //收件人姓名
|
|
AddressPhone string `json:"address_phone" form:"address_phone"` //收件人手机号
|
|
OrderTimeStart string `json:"order_time_start" form:"order_time_start"` //订单时间起始
|
|
OrderTimeEnd string `json:"order_time_end" form:"order_time_end"` //订单时间结束
|
|
SellerId string `json:"seller_id" form:"seller_id"` //商家ID
|
|
Uuid string `json:"uuid" form:"uuid"` //网红用户ID
|
|
MissionTitle string `json:"mission_title" form:"mission_title"` // 任务标题
|
|
PageInfo
|
|
}
|
|
|
|
type SearchMissionFund struct {
|
|
SearchTimeArea
|
|
CreateBy string `json:"create_by" form:"create_by"`
|
|
}
|
|
|