...
|
...
|
@@ -228,7 +228,9 @@ func (ptr *CooperationStatisticsService) PersonCooperationProjectSharedInfo(quer |
|
|
"cooperationProjectId": project.CooperationProjectId,
|
|
|
"attachment": project.Attachment,
|
|
|
"cooperationProjectDescription": project.CooperationProjectDescription,
|
|
|
"updatedAt": updateAt.Unix() * 1000,
|
|
|
"cooperationProjectName": project.CooperationProjectName,
|
|
|
//"cooperationProjectDescription":project.CooperationProjectDescription,
|
|
|
"updatedAt": updateAt.Unix() * 1000,
|
|
|
}
|
|
|
// 0.1 组织数据
|
|
|
response.Org = project.Org
|
...
|
...
|
@@ -237,12 +239,7 @@ func (ptr *CooperationStatisticsService) PersonCooperationProjectSharedInfo(quer |
|
|
userServiceGateway := service_gateway.NewHttplibUserServiceGateway()
|
|
|
userDetail, e := userServiceGateway.GetUserInfo(0, 0, request.UserBaseId)
|
|
|
if e == nil && userDetail != nil {
|
|
|
for i := range userDetail.Favorite.OrgItems {
|
|
|
if userDetail.Favorite.OrgItems[i] == project.Org.OrgId {
|
|
|
response.OrgStarred = true
|
|
|
break
|
|
|
}
|
|
|
}
|
|
|
response.OrgStarred = userDetail.CheckOrgStarred(project.Org.OrgId)
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
|