|
@@ -22,6 +22,7 @@ func GormSecTaskToHttpSecTask(secTask *gorm_model.YounggeeSecTaskInfo) *http_mod
|
|
|
TalentPlatformInfoSnap := secTask.TalentPlatformInfoSnap
|
|
|
regionCode, _ := strconv.Atoi(conv.MustString(gjson.Get(secTask.TalentPostAddrSnap, "region_code"), ""))
|
|
|
return &http_model.SecTaskInfo{
|
|
|
+ SelectionId: secTask.SelectionID,
|
|
|
SecTaskId: secTask.TaskID,
|
|
|
PlatformNickname: conv.MustString(gjson.Get(TalentPlatformInfoSnap, "platform_nickname"), ""),
|
|
|
FansCount: conv.MustString(gjson.Get(TalentPlatformInfoSnap, "fans_count"), ""),
|
|
@@ -29,10 +30,10 @@ func GormSecTaskToHttpSecTask(secTask *gorm_model.YounggeeSecTaskInfo) *http_mod
|
|
|
HomePageUrl: conv.MustString(gjson.Get(TalentPlatformInfoSnap, "home_page_url"), ""),
|
|
|
RegionCode: regionCode,
|
|
|
DetailAddr: conv.MustString(gjson.Get(secTask.TalentPostAddrSnap, "detail_addr"), "") + " " + conv.MustString(gjson.Get(secTask.TalentPostAddrSnap, "receiver_name"), "") + " " + conv.MustString(gjson.Get(secTask.TalentPostAddrSnap, "phone_number"), ""),
|
|
|
- CreateDate: conv.MustString(secTask.CreateDate, ""),
|
|
|
- SelectDate: conv.MustString(secTask.SelectDate, ""),
|
|
|
- DeliveryDate: conv.MustString(secTask.DeliveryDate, ""),
|
|
|
- CompleteDate: conv.MustString(secTask.CompleteDate, ""),
|
|
|
+ CreateDate: conv.MustString(secTask.CreateDate, "")[:19],
|
|
|
+ SelectDate: conv.MustString(secTask.SelectDate, "")[:19],
|
|
|
+ DeliveryDate: conv.MustString(secTask.DeliveryDate, "")[:19],
|
|
|
+ CompleteDate: conv.MustString(secTask.CompleteDate, "")[:19],
|
|
|
IsPayReward: secTask.IsPayReward,
|
|
|
IsPayPayment: secTask.IsPayPayment,
|
|
|
SignedTime: conv.MustString(secTask.SignedTime, "0000"),
|