|
@@ -228,6 +228,8 @@ func (ptr *CooperationStatisticsService) PersonCooperationProjectSharedInfo(quer |
|
@@ -228,6 +228,8 @@ func (ptr *CooperationStatisticsService) PersonCooperationProjectSharedInfo(quer |
228
|
"cooperationProjectId": project.CooperationProjectId,
|
228
|
"cooperationProjectId": project.CooperationProjectId,
|
229
|
"attachment": project.Attachment,
|
229
|
"attachment": project.Attachment,
|
230
|
"cooperationProjectDescription": project.CooperationProjectDescription,
|
230
|
"cooperationProjectDescription": project.CooperationProjectDescription,
|
|
|
231
|
+ "cooperationProjectName": project.CooperationProjectName,
|
|
|
232
|
+ //"cooperationProjectDescription":project.CooperationProjectDescription,
|
231
|
"updatedAt": updateAt.Unix() * 1000,
|
233
|
"updatedAt": updateAt.Unix() * 1000,
|
232
|
}
|
234
|
}
|
233
|
// 0.1 组织数据
|
235
|
// 0.1 组织数据
|
|
@@ -237,12 +239,7 @@ func (ptr *CooperationStatisticsService) PersonCooperationProjectSharedInfo(quer |
|
@@ -237,12 +239,7 @@ func (ptr *CooperationStatisticsService) PersonCooperationProjectSharedInfo(quer |
237
|
userServiceGateway := service_gateway.NewHttplibUserServiceGateway()
|
239
|
userServiceGateway := service_gateway.NewHttplibUserServiceGateway()
|
238
|
userDetail, e := userServiceGateway.GetUserInfo(0, 0, request.UserBaseId)
|
240
|
userDetail, e := userServiceGateway.GetUserInfo(0, 0, request.UserBaseId)
|
239
|
if e == nil && userDetail != nil {
|
241
|
if e == nil && userDetail != nil {
|
240
|
- for i := range userDetail.Favorite.OrgItems {
|
|
|
241
|
- if userDetail.Favorite.OrgItems[i] == project.Org.OrgId {
|
|
|
242
|
- response.OrgStarred = true
|
|
|
243
|
- break
|
|
|
244
|
- }
|
|
|
245
|
- }
|
242
|
+ response.OrgStarred = userDetail.CheckOrgStarred(project.Org.OrgId)
|
246
|
}
|
243
|
}
|
247
|
}
|
244
|
}
|
248
|
|
245
|
|