|
@@ -34,67 +34,69 @@ import (
|
|
|
// }
|
|
|
type YoungeeTaskInfo struct {
|
|
|
gmeta.Meta `orm:"table:youngee_task_info"`
|
|
|
- TaskId string `json:"task_id"` // 任务ID
|
|
|
- ProjectId string `json:"project_id"` // 项目ID
|
|
|
- TalentId string `json:"talent_id"` // 达人ID
|
|
|
- AccountId int `json:"account_id"` // 账号ID
|
|
|
- PlatformId int `json:"platform_id"`
|
|
|
- OpenId string `json:"open_id"` // 快手唯一标识
|
|
|
- StrategyId int `json:"strategy_id"` // 报名选择的招募策略ID
|
|
|
- TalentPlatformInfoSnap string `json:"talent_platform_info_snap"` // 达人平台信息快照
|
|
|
- TalentPersonalInfoSnap string `json:"talent_personal_info_snap"` // 达人个人信息快照
|
|
|
- TalentPostAddrSnap string `json:"talent_post_addr_snap"` // 收货地址快照
|
|
|
- TaskReward float64 `json:"task_reward"` // 达人报酬
|
|
|
- SettleAmount float64 `json:"settle_amount"` // 达人实际所得(扣除违约扣款)
|
|
|
- AllPayment float64 `json:"all_payment"` // 企业支付总额
|
|
|
- RealPayment float64 `json:"real_payment"` // 企业实际支付(扣除违约扣款)
|
|
|
- ServiceRate float64 `json:"service_rate"` // 服务费率(千分比)
|
|
|
- ServiceCharge float64 `json:"service_charge"` // 服务费
|
|
|
- FeeForm int `json:"fee_form"` // 稿费形式 1: 产品置换 2: 固定稿费 3: 自报价
|
|
|
- ErrBreakRate int `json:"err_break_rate"` // 未上传类型违约扣款比例(百分比)
|
|
|
- ScriptBreakRate int `json:"script_break_rate"` // 脚本超时违约扣款比例(百分比)
|
|
|
- SketchBreakRate int `json:"sketch_break_rate"` // 初稿超时违约扣款比例(百分比)
|
|
|
- LinkBreakRate int `json:"link_break_rate"` // 链接超时违约扣款比例(百分比)
|
|
|
- DataBreakRate int `json:"data_break_rate"` // 数据超时违约扣款比例(百分比)
|
|
|
- TaskStage int `json:"task_stage"` // 任务阶段
|
|
|
- TaskStatus int `json:"task_status"` // 商家任务状态 1: 待选 2: 已选 3: 落选
|
|
|
- LogisticsStatus int `json:"logistics_status"` // 发货状态 1: 待发货 2: 已发货 3: 已签收
|
|
|
- ScriptStatus int `json:"script_status"` // 脚本上传状态 1-5 表示各阶段
|
|
|
- SketchStatus int `json:"sketch_status"` // 初稿上传状态 1-5 表示各阶段
|
|
|
- LinkStatus int `json:"link_status"` // 链接上传状态 1-5 表示各阶段
|
|
|
- DataStatus int `json:"data_status"` // 数据上传状态 1-5 表示各阶段
|
|
|
- CompleteStatus int `json:"complete_status"` // 结束方式 1: 未结束 2: 正常结束 3: 反选失败 4: 被解约
|
|
|
- UpdateAt *gtime.Time `json:"update_at"` // 更新时间
|
|
|
- CreateDate *gtime.Time `json:"create_date"` // 创建时间
|
|
|
- SelectDate *gtime.Time `json:"select_date"` // 反选时间
|
|
|
- DeliveryDate *gtime.Time `json:"delivery_date"` // 发货时间
|
|
|
- CompleteDate *gtime.Time `json:"complete_date"` // 结束时间
|
|
|
- WithdrawDate *gtime.Time `json:"withdraw_date"` // 提现时间
|
|
|
- CurDefaultType int `json:"cur_default_type"` // 当前处于的违约类型
|
|
|
- WithdrawStatus int `json:"withdraw_status"` // 提现状态 1-4 表示不同状态
|
|
|
- LeadTeamId string `json:"lead_team_id"` // 团长young之团ID
|
|
|
- TeamId string `json:"team_id"` // 团员young之团ID
|
|
|
- SettleStatus int `json:"settle_status"` // 结算状态 1: 待结算 2: 已结算
|
|
|
- TeamIncome float64 `json:"team_income"` // 团长现金收益
|
|
|
- TeamPoint int `json:"team_point"` // 团长积分收益
|
|
|
- CurBreakAt *gtime.Time `json:"cur_break_at"` // 当前阶段截止时间
|
|
|
- SupplierId int `json:"supplier_id"` // 服务商ID
|
|
|
- SupplierStatus int `json:"supplier_status"` // 服务商任务状态
|
|
|
- DraftFee float64 `json:"draft_fee"` // 达人稿费
|
|
|
- SupportFee float64 `json:"support_fee"` //提报价格
|
|
|
- SignedTime *gtime.Time `json:"signed_time"` // 签收时间
|
|
|
- FansNum int `json:"fans_num"` // 粉丝数
|
|
|
- VoteAvg int `json:"vote_avg"` // 平均点赞数
|
|
|
- CommitAvg int `json:"commit_avg"` // 平均评论数
|
|
|
- BOperator string `json:"b_operator"` // 商家确定达人操作人ID
|
|
|
- BOperatorType int `json:"b_operator_type"` // 商家操作人类型
|
|
|
- SOperator int `json:"s_operator"` // 服务商提报达人操作人ID
|
|
|
- SOperatorType int `json:"s_operator_type"` // 服务商操作人类型
|
|
|
- SProjectId int `json:"s_project_id"` // 服务商种草任务ID
|
|
|
- ProjectDetail *ProjectDetail `orm:"with:project_id = project_id " json:"project_detail"` //项目详情
|
|
|
- WxNum string `json:"wx_num"`
|
|
|
- TalentName string `json:"talent_name"` //达人昵称
|
|
|
- SOperateName string `json:"s_operate_name"` //服务商昵称
|
|
|
+ TaskId string `json:"task_id"` // 任务ID
|
|
|
+ ProjectId string `json:"project_id"` // 项目ID
|
|
|
+ TalentId string `json:"talent_id"` // 达人ID
|
|
|
+ AccountId int `json:"account_id"` // 账号ID
|
|
|
+ PlatformId int `json:"platform_id"`
|
|
|
+ OpenId string `json:"open_id"` // 快手唯一标识
|
|
|
+ StrategyId int `json:"strategy_id"` // 报名选择的招募策略ID
|
|
|
+ TalentPlatformInfoSnap string `json:"talent_platform_info_snap"` // 达人平台信息快照
|
|
|
+ TalentPersonalInfoSnap string `json:"talent_personal_info_snap"` // 达人个人信息快照
|
|
|
+ TalentPostAddrSnap string `json:"talent_post_addr_snap"` // 收货地址快照
|
|
|
+ TaskReward float64 `json:"task_reward"` // 达人报酬
|
|
|
+ SettleAmount float64 `json:"settle_amount"` // 达人实际所得(扣除违约扣款)
|
|
|
+ AllPayment float64 `json:"all_payment"` // 企业支付总额
|
|
|
+ RealPayment float64 `json:"real_payment"` // 企业实际支付(扣除违约扣款)
|
|
|
+ ServiceRate float64 `json:"service_rate"` // 服务费率(千分比)
|
|
|
+ ServiceCharge float64 `json:"service_charge"` // 服务费
|
|
|
+ FeeForm int `json:"fee_form"` // 稿费形式 1: 产品置换 2: 固定稿费 3: 自报价
|
|
|
+ ErrBreakRate int `json:"err_break_rate"` // 未上传类型违约扣款比例(百分比)
|
|
|
+ ScriptBreakRate int `json:"script_break_rate"` // 脚本超时违约扣款比例(百分比)
|
|
|
+ SketchBreakRate int `json:"sketch_break_rate"` // 初稿超时违约扣款比例(百分比)
|
|
|
+ LinkBreakRate int `json:"link_break_rate"` // 链接超时违约扣款比例(百分比)
|
|
|
+ DataBreakRate int `json:"data_break_rate"` // 数据超时违约扣款比例(百分比)
|
|
|
+ TaskStage int `json:"task_stage"` // 任务阶段
|
|
|
+ TaskStatus int `json:"task_status"` // 商家任务状态 1: 待选 2: 已选 3: 落选
|
|
|
+ LogisticsStatus int `json:"logistics_status"` // 发货状态 1: 待发货 2: 已发货 3: 已签收
|
|
|
+ ScriptStatus int `json:"script_status"` // 脚本上传状态 1-5 表示各阶段
|
|
|
+ SketchStatus int `json:"sketch_status"` // 初稿上传状态 1-5 表示各阶段
|
|
|
+ LinkStatus int `json:"link_status"` // 链接上传状态 1-5 表示各阶段
|
|
|
+ DataStatus int `json:"data_status"` // 数据上传状态 1-5 表示各阶段
|
|
|
+ CompleteStatus int `json:"complete_status"` // 结束方式 1: 未结束 2: 正常结束 3: 反选失败 4: 被解约
|
|
|
+ UpdateAt *gtime.Time `json:"update_at"` // 更新时间
|
|
|
+ CreateDate *gtime.Time `json:"create_date"` // 创建时间
|
|
|
+ SelectDate *gtime.Time `json:"select_date"` // 反选时间
|
|
|
+ DeliveryDate *gtime.Time `json:"delivery_date"` // 发货时间
|
|
|
+ CompleteDate *gtime.Time `json:"complete_date"` // 结束时间
|
|
|
+ WithdrawDate *gtime.Time `json:"withdraw_date"` // 提现时间
|
|
|
+ CurDefaultType int `json:"cur_default_type"` // 当前处于的违约类型
|
|
|
+ WithdrawStatus int `json:"withdraw_status"` // 提现状态 1-4 表示不同状态
|
|
|
+ LeadTeamId string `json:"lead_team_id"` // 团长young之团ID
|
|
|
+ TeamId string `json:"team_id"` // 团员young之团ID
|
|
|
+ SettleStatus int `json:"settle_status"` // 结算状态 1: 待结算 2: 已结算
|
|
|
+ TeamIncome float64 `json:"team_income"` // 团长现金收益
|
|
|
+ TeamPoint int `json:"team_point"` // 团长积分收益
|
|
|
+ CurBreakAt *gtime.Time `json:"cur_break_at"` // 当前阶段截止时间
|
|
|
+ SupplierId int `json:"supplier_id"` // 服务商ID
|
|
|
+ SupplierStatus int `json:"supplier_status"` // 服务商任务状态
|
|
|
+ DraftFee float64 `json:"draft_fee"` // 达人稿费
|
|
|
+ SupportFee float64 `json:"support_fee"` //提报价格
|
|
|
+ SignedTime *gtime.Time `json:"signed_time"` // 签收时间
|
|
|
+ FansNum int `json:"fans_num"` // 粉丝数
|
|
|
+ VoteAvg int `json:"vote_avg"` // 平均点赞数
|
|
|
+ CommitAvg int `json:"commit_avg"` // 平均评论数
|
|
|
+ BOperator string `json:"b_operator"` // 商家确定达人操作人ID
|
|
|
+ BOperatorType int `json:"b_operator_type"` // 商家操作人类型
|
|
|
+ SOperator int `json:"s_operator"` // 服务商提报达人操作人ID
|
|
|
+ SOperatorType int `json:"s_operator_type"` // 服务商操作人类型
|
|
|
+ SProjectId int `json:"s_project_id"` // 服务商种草任务ID
|
|
|
+ ProjectDetail *ProjectDetail `orm:"with:project_id = project_id " json:"project_detail"` //项目详情
|
|
|
+ WxNum string `json:"wx_num"`
|
|
|
+ TalentName string `json:"talent_name"` //达人昵称
|
|
|
+ SOperateName string `json:"s_operate_name"` //服务商昵称
|
|
|
+ ProjectType int `json:"project_type"` //项目类型 1.公开, 2,定向
|
|
|
+ KsUserInfo []*KuaishouUserInfo `orm:"with:open_id=open_id"`
|
|
|
}
|
|
|
|
|
|
type YounggeeLocalTaskLog struct {
|
|
@@ -117,55 +119,57 @@ type YoungeeLocalTaskInfo struct {
|
|
|
TalentPlatformInfoSnap string `json:"talent_platform_info_snap"` // 达人平台信息快照
|
|
|
TalentPersonalInfoSnap string `json:"talent_personal_info_snap"` // 达人个人信息快照
|
|
|
//TalentPostAddrSnap string `json:"talent_post_addr_snap"` // 收货地址快照
|
|
|
- TaskReward float64 `json:"task_reward"` // 达人报酬
|
|
|
- SettleAmount float64 `json:"settle_amount"` // 达人实际所得(扣除违约扣款)
|
|
|
- AllPayment float64 `json:"all_payment"` // 企业支付总额
|
|
|
- RealPayment float64 `json:"real_payment"` // 企业实际支付(扣除违约扣款)
|
|
|
- ServiceRate float64 `json:"service_rate"` // 服务费率(千分比)
|
|
|
- ServiceCharge float64 `json:"service_charge"` // 服务费
|
|
|
- FeeForm int `json:"fee_form"` // 稿费形式 1: 产品置换 2: 固定稿费 3: 自报价
|
|
|
- ErrBreakRate int `json:"err_break_rate"` // 未上传类型违约扣款比例(百分比)
|
|
|
- ScriptBreakRate int `json:"script_break_rate"` // 脚本超时违约扣款比例(百分比)
|
|
|
- SketchBreakRate int `json:"sketch_break_rate"` // 初稿超时违约扣款比例(百分比)
|
|
|
- LinkBreakRate int `json:"link_break_rate"` // 链接超时违约扣款比例(百分比)
|
|
|
- DataBreakRate int `json:"data_break_rate"` // 数据超时违约扣款比例(百分比)
|
|
|
- TaskStage int `json:"task_stage"` // 任务阶段
|
|
|
- TaskStatus int `json:"task_status"` // 商家任务状态 1: 待选 2: 已选 3: 落选
|
|
|
- LogisticsStatus int `json:"logistics_status"` // 发货状态 1: 待发货 2: 已发货 3: 已签收
|
|
|
- BookStatus int `json:"book_status"` // 脚本上传状态 1-5 表示各阶段
|
|
|
- SketchStatus int `json:"sketch_status"` // 初稿上传状态 1-5 表示各阶段
|
|
|
- LinkStatus int `json:"link_status"` // 链接上传状态 1-5 表示各阶段
|
|
|
- DataStatus int `json:"data_status"` // 数据上传状态 1-5 表示各阶段
|
|
|
- CompleteStatus int `json:"complete_status"` // 结束方式 1: 未结束 2: 正常结束 3: 反选失败 4: 被解约
|
|
|
- UpdateAt *gtime.Time `json:"update_at"` // 更新时间
|
|
|
- CreateDate *gtime.Time `json:"create_date"` // 创建时间
|
|
|
- SelectDate *gtime.Time `json:"select_date"` // 反选时间
|
|
|
- DeliveryDate *gtime.Time `json:"delivery_date"` // 发货时间
|
|
|
- CompleteDate *gtime.Time `json:"complete_date"` // 结束时间
|
|
|
- WithdrawDate *gtime.Time `json:"withdraw_date"` // 提现时间
|
|
|
- CurDefaultType int `json:"cur_default_type"` // 当前处于的违约类型
|
|
|
- WithdrawStatus int `json:"withdraw_status"` // 提现状态 1-4 表示不同状态
|
|
|
- LeadTeamId string `json:"lead_team_id"` // 团长young之团ID
|
|
|
- TeamId string `json:"team_id"` // 团员young之团ID
|
|
|
- SettleStatus int `json:"settle_status"` // 结算状态 1: 待结算 2: 已结算
|
|
|
- TeamIncome float64 `json:"team_income"` // 团长现金收益
|
|
|
- TeamPoint int `json:"team_point"` // 团长积分收益
|
|
|
- CurBreakAt *gtime.Time `json:"cur_break_at"` // 当前阶段截止时间
|
|
|
- SupplierId int `json:"supplier_id"` // 服务商ID
|
|
|
- SupplierStatus int `json:"supplier_status"` // 服务商任务状态
|
|
|
- DraftFee float64 `json:"draft_fee"` // 达人稿费
|
|
|
- SupportFee float64 `json:"support_fee"` //提报价格
|
|
|
- SignedTime *gtime.Time `json:"signed_time"` // 签收时间
|
|
|
- FansNum int `json:"fans_num"` // 粉丝数
|
|
|
- VoteAvg int `json:"vote_avg"` // 平均点赞数
|
|
|
- CommitAvg int `json:"commit_avg"` // 平均评论数
|
|
|
- BOperator string `json:"b_operator"` // 商家确定达人操作人ID
|
|
|
- BOperatorType int `json:"b_operator_type"` // 商家操作人类型
|
|
|
- SOperator int `json:"s_operator"` // 服务商提报达人操作人ID
|
|
|
- SOperatorType int `json:"s_operator_type"` // 服务商操作人类型
|
|
|
- SProjectId int `json:"s_project_id"` // 服务商种草任务ID
|
|
|
- LocalInfoDetail *LocalInfoDetail `orm:"with:local_id=local_id" json:"local_detail"` //项目详情
|
|
|
- WxNum string `json:"wx_num"`
|
|
|
+ TaskReward float64 `json:"task_reward"` // 达人报酬
|
|
|
+ SettleAmount float64 `json:"settle_amount"` // 达人实际所得(扣除违约扣款)
|
|
|
+ AllPayment float64 `json:"all_payment"` // 企业支付总额
|
|
|
+ RealPayment float64 `json:"real_payment"` // 企业实际支付(扣除违约扣款)
|
|
|
+ ServiceRate float64 `json:"service_rate"` // 服务费率(千分比)
|
|
|
+ ServiceCharge float64 `json:"service_charge"` // 服务费
|
|
|
+ FeeForm int `json:"fee_form"` // 稿费形式 1: 产品置换 2: 固定稿费 3: 自报价
|
|
|
+ ErrBreakRate int `json:"err_break_rate"` // 未上传类型违约扣款比例(百分比)
|
|
|
+ ScriptBreakRate int `json:"script_break_rate"` // 脚本超时违约扣款比例(百分比)
|
|
|
+ SketchBreakRate int `json:"sketch_break_rate"` // 初稿超时违约扣款比例(百分比)
|
|
|
+ LinkBreakRate int `json:"link_break_rate"` // 链接超时违约扣款比例(百分比)
|
|
|
+ DataBreakRate int `json:"data_break_rate"` // 数据超时违约扣款比例(百分比)
|
|
|
+ TaskStage int `json:"task_stage"` // 任务阶段
|
|
|
+ TaskStatus int `json:"task_status"` // 商家任务状态 1: 待选 2: 已选 3: 落选
|
|
|
+ LogisticsStatus int `json:"logistics_status"` // 发货状态 1: 待发货 2: 已发货 3: 已签收
|
|
|
+ BookStatus int `json:"book_status"` // 脚本上传状态 1-5 表示各阶段
|
|
|
+ SketchStatus int `json:"sketch_status"` // 初稿上传状态 1-5 表示各阶段
|
|
|
+ LinkStatus int `json:"link_status"` // 链接上传状态 1-5 表示各阶段
|
|
|
+ DataStatus int `json:"data_status"` // 数据上传状态 1-5 表示各阶段
|
|
|
+ CompleteStatus int `json:"complete_status"` // 结束方式 1: 未结束 2: 正常结束 3: 反选失败 4: 被解约
|
|
|
+ UpdateAt *gtime.Time `json:"update_at"` // 更新时间
|
|
|
+ CreateDate *gtime.Time `json:"create_date"` // 创建时间
|
|
|
+ SelectDate *gtime.Time `json:"select_date"` // 反选时间
|
|
|
+ DeliveryDate *gtime.Time `json:"delivery_date"` // 发货时间
|
|
|
+ CompleteDate *gtime.Time `json:"complete_date"` // 结束时间
|
|
|
+ WithdrawDate *gtime.Time `json:"withdraw_date"` // 提现时间
|
|
|
+ CurDefaultType int `json:"cur_default_type"` // 当前处于的违约类型
|
|
|
+ WithdrawStatus int `json:"withdraw_status"` // 提现状态 1-4 表示不同状态
|
|
|
+ LeadTeamId string `json:"lead_team_id"` // 团长young之团ID
|
|
|
+ TeamId string `json:"team_id"` // 团员young之团ID
|
|
|
+ SettleStatus int `json:"settle_status"` // 结算状态 1: 待结算 2: 已结算
|
|
|
+ TeamIncome float64 `json:"team_income"` // 团长现金收益
|
|
|
+ TeamPoint int `json:"team_point"` // 团长积分收益
|
|
|
+ CurBreakAt *gtime.Time `json:"cur_break_at"` // 当前阶段截止时间
|
|
|
+ SupplierId int `json:"supplier_id"` // 服务商ID
|
|
|
+ SupplierStatus int `json:"supplier_status"` // 服务商任务状态
|
|
|
+ DraftFee float64 `json:"draft_fee"` // 达人稿费
|
|
|
+ SupportFee float64 `json:"support_fee"` //提报价格
|
|
|
+ SignedTime *gtime.Time `json:"signed_time"` // 签收时间
|
|
|
+ FansNum int `json:"fans_num"` // 粉丝数
|
|
|
+ VoteAvg int `json:"vote_avg"` // 平均点赞数
|
|
|
+ CommitAvg int `json:"commit_avg"` // 平均评论数
|
|
|
+ BOperator string `json:"b_operator"` // 商家确定达人操作人ID
|
|
|
+ BOperatorType int `json:"b_operator_type"` // 商家操作人类型
|
|
|
+ SOperator int `json:"s_operator"` // 服务商提报达人操作人ID
|
|
|
+ SOperatorType int `json:"s_operator_type"` // 服务商操作人类型
|
|
|
+ SProjectId int `json:"s_project_id"` // 服务商种草任务ID
|
|
|
+ LocalInfoDetail *LocalInfoDetail `orm:"with:local_id=local_id" json:"local_detail"` //项目详情
|
|
|
+ WxNum string `json:"wx_num"`
|
|
|
+ LocalType int `json:"local_type"` // 1: 公开 2: 定向
|
|
|
+ KsUserInfo []*KuaishouUserInfo `orm:"with:open_id=open_id"`
|
|
|
}
|
|
|
|
|
|
type SignTaskInfo struct {
|
|
@@ -297,3 +301,14 @@ type IsSignSecTask struct {
|
|
|
IsSign int `json:"is_sign"`
|
|
|
SecTaskInfo *SecTaskInfoDetail `json:"sec_task_info"`
|
|
|
}
|
|
|
+
|
|
|
+// 物流页面展示不同的task
|
|
|
+type YoungeeGeneralTaskInfo struct {
|
|
|
+ TalentId string `json:"talent_id"` // 达人ID
|
|
|
+ TaskName string `json:"task_name"` // 任务名称
|
|
|
+ TaskPhoto string `json:"task_photo"` // 任务图片
|
|
|
+ TaskPrice float64 `json:"task_price"` // 任务价格
|
|
|
+ AccountInfo *KuaishouUserInfo `json:"account_info"` //报名平台账号信息
|
|
|
+ SourceType int `json:"source_type"` // 任务来源 1: 公开 2: 定向
|
|
|
+ TaskType int `json:"task_type"` // 1:带货 2.种草 3,本地生活
|
|
|
+}
|