...
|
...
|
@@ -216,6 +216,8 @@ func (srv CooperationProjectService) PersonSearchCooperationProjectShareInfo(pro |
|
|
allied_creation_cooperation.PersonCooperationProjectSharedInfo,
|
|
|
map[string]interface{}{
|
|
|
"projectId": projectQuery.CooperationProjectId,
|
|
|
"userBaseId": projectQuery.Operator.UserBaseId,
|
|
|
"sensitive": true,
|
|
|
},
|
|
|
)
|
|
|
if err != nil {
|
...
|
...
|
@@ -244,7 +246,7 @@ func (srv CooperationProjectService) PersonSearchCooperationProjectShareInfoAtta |
|
|
return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())
|
|
|
}
|
|
|
// 不是本人查看需要做模糊处理
|
|
|
if response.Attachment != nil {
|
|
|
if response.Attachment != nil && len(response.Attachment.Url) > 0 {
|
|
|
if response.UserBaseId != projectQuery.Operator.UserBaseId {
|
|
|
file, err := blur.FileBlur(response.Attachment.Url, true)
|
|
|
if err != nil { // || len(file)==0
|
...
|
...
|
|