作者 tangxuhui

数据结构调整

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