12345678910111213141516171819 |
- package pack
- import (
- "fmt"
- "youngee_b_api/model/common_model"
- "youngee_b_api/model/http_model"
- "github.com/issue9/conv"
- )
- func HttpTaskFinishListRequestToCondition(req *http_model.TaskFinishListRequest) *common_model.TalentConditions {
- fmt.Printf("初稿转换 %+v", req)
- return &common_model.TalentConditions{
- ProjectId: conv.MustInt64(req.ProjectId),
- StrategyIds: conv.MustString(req.StrategyIds),
- // TaskId: conv.MustString(req.TaskId),
- PlatformNickname: conv.MustString(req.PlatformNickname),
- }
- }
|