作者 tangxuhui

数据结构调整

... ... @@ -27,6 +27,7 @@ func (srv UndertakerFeedbackService) SearchFeedback(cmd *command.SearchFeedbackC
result.Grid.List[i].ContractUndertaker.UserCode = v.ContractUndertaker.UserInfo.UserCode
result.Grid.List[i].ContractUndertaker.UserName = v.ContractUndertaker.UserInfo.UserName
result.Grid.List[i].ContractUndertaker.UserPhone = v.ContractUndertaker.UserInfo.UserPhone
result.Grid.List[i].CooperationMode.CooperationModeName = v.CooperationModeName
}
return result, nil
}
... ...
... ... @@ -81,6 +81,9 @@ type (
CreatedAt jtime.TimeToUnixMsec `json:"createdAt"`
// 共创模式名称
CooperationModeName string `json:"cooperationModeName"`
CooperationMode struct {
CooperationModeName string `json:"cooperationModeName"`
} `json:"cooperationMode"`
} `json:"list"`
Total int `json:"total"`
} `json:"grid"`
... ...