作者 tangxuhui

数据结构调整

@@ -24,7 +24,7 @@ type CooperationProjectInfo struct { @@ -24,7 +24,7 @@ type CooperationProjectInfo struct {
24 CooperationModeNumber string `json:"cooperationModeNumber"` 24 CooperationModeNumber string `json:"cooperationModeNumber"`
25 } `json:"cooperationMode"` //项目模式 25 } `json:"cooperationMode"` //项目模式
26 CooperationProjectDescription string `json:"cooperationProjectDescription"` 26 CooperationProjectDescription string `json:"cooperationProjectDescription"`
27 - Attachment []domain.Attachment `json:"attachment"` //图片附件 27 + Images []domain.Attachment `json:"images"` //图片附件
28 CooperationProjectId int `json:"cooperationProjectId,string,"` 28 CooperationProjectId int `json:"cooperationProjectId,string,"`
29 CooperationProjectName string `json:"cooperationProjectName"` 29 CooperationProjectName string `json:"cooperationProjectName"`
30 CooperationProjectNumber string `json:"cooperationProjectNumber"` 30 CooperationProjectNumber string `json:"cooperationProjectNumber"`
@@ -64,7 +64,7 @@ func ToCooperationProjectInfo(param *allied_creation_cooperation.CooperationProj @@ -64,7 +64,7 @@ func ToCooperationProjectInfo(param *allied_creation_cooperation.CooperationProj
64 CooperationProjectUndertakerType: param.CooperationProjectUndertakerType, 64 CooperationProjectUndertakerType: param.CooperationProjectUndertakerType,
65 Department: param.Department, 65 Department: param.Department,
66 Status: param.Status, 66 Status: param.Status,
67 - Attachment: param.Attachment, 67 + Images: param.Attachment,
68 } 68 }
69 69
70 data.CooperationProjectSponsor.UsersCode = param.CooperationProjectSponsor.UserInfo.UsersCode 70 data.CooperationProjectSponsor.UsersCode = param.CooperationProjectSponsor.UserInfo.UsersCode