|
@@ -32,20 +32,7 @@ func (l *DocDownloadLogic) DocDownload(in *userlib.UserCollectRequest) (*userlib
|
|
|
&model.UserDoc{
|
|
|
UserId: in.UserId,
|
|
|
DocId: in.DocId,
|
|
|
-<<<<<<< HEAD
|
|
|
- DocCategory: int(in.DocCategory),
|
|
|
- IsDelete: int(userlib.UserDocStatus_Normal),
|
|
|
- DocName: in.DocName,
|
|
|
- DocFileType: int(in.DocFileType),
|
|
|
- DocFileSuffix: in.DocFileSuffix,
|
|
|
- DocFileSize: int(in.DocFileSize),
|
|
|
- DocPageSize: int(in.DocPageSize),
|
|
|
- DocSummary: in.DocSummary,
|
|
|
- DocSourceUserId: in.SourceUserId,
|
|
|
- }, int(in.Cost), config.Configs.FileSystemConf.Etcd.Hosts, config.Configs.FileSystemConf.Etcd.Key)
|
|
|
-=======
|
|
|
}, int(in.Cost),config.Configs.FileSystemConf.Etcd.Hosts,config.Configs.FileSystemConf.Etcd.Key)
|
|
|
->>>>>>> da3594f67ecdc12ecfff7b4a4a66f0ffb82bf39b
|
|
|
log.Printf("用户文档收藏,userId:[%s],docId:[%s] 是否成功:[%v]", in.UserId, in.DocId, b)
|
|
|
if b {
|
|
|
return &userlib.UserCollectResponse{
|