Skip to content

Commit

Permalink
Merge pull request #70 from yanyanho/main
Browse files Browse the repository at this point in the history
move share to test
  • Loading branch information
yanyanho authored Dec 9, 2023
2 parents 4697463 + 4b0502a commit 127943c
Show file tree
Hide file tree
Showing 25 changed files with 47 additions and 42 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,52 +23,57 @@ public class DefaultSharingServiceImpl implements IUserSharingService {
@Autowired
private ISharingRepository repository;

@Override
public long createSharing(CreateSharingReq req) {
Member member = HttpSessionUtils.getMember();
log.info("createSharing start, uid");
SharingEntity entity = new SharingEntity();
entity.setTheme(req.getTheme());
entity.setDate(req.getDate());
entity.setTime(req.getTime());
entity.setPresenter(req.getPresenter());
entity.setOrg(req.getOrg());
entity.setTwitter(req.getTwitter());
entity.setMemberId(req.getMe);

// /**
// * 分享所属组织
// */
// private String Org;
//
// /**
// * 分享人twitter
// */
// private String twitter;
// @Override
// public long createSharing(CreateSharingReq req) {
// Member member = HttpSessionUtils.getMember();
// log.info("createSharing start, uid");
// SharingEntity entity = new SharingEntity();
// entity.setTheme(req.getTheme());
// entity.setDate(req.getDate());
// entity.setTime(req.getTime());
// entity.setPresenter(req.getPresenter());
// entity.setOrg(req.getOrg());
// entity.setTwitter(req.getTwitter());
// entity.setMemberId(req.getMe);
//
// /**
// * 分享人
// */
// private String memberId;
//// /**
//// * 分享所属组织
//// */
//// private String Org;
////
//// /**
//// * 分享人twitter
//// */
//// private String twitter;
////
//// /**
//// * 分享人
//// */
//// private String memberId;
////
//// /**
//// * 文档连接
//// */
//// private String sharingDoc;
////
//// /**
//// * 标签类别
//// */
//// //defi zk underlying
//// private String label;
////
//// /**
//// * 奖励金额
//// */
//// private Integer reward;
//
// /**
// * 文档连接
// */
// private String sharingDoc;
// repository.save()
//
// /**
// * 标签类别
// */
// //defi zk underlying
// private String label;
//
// /**
// * 奖励金额
// */
// private Integer reward;

repository.save()
// }

@Override
public long createSharing(CreateSharingReq req) {
return 0;
}

@Override
Expand Down

0 comments on commit 127943c

Please sign in to comment.