GroupRelationFrontService.java 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. package com.cyksj.service.relation;
  2. import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
  3. import com.cyksj.model.entity.GoodsDonSku;
  4. import com.cyksj.model.entity.GroupsRelation;
  5. import com.cyksj.model.entity.NetflixUserAccountStatusRecord;
  6. import com.cyksj.model.manage.views.AccountView;
  7. import com.cyksj.model.request.ErrorNetflixChangeReq;
  8. import com.cyksj.model.request.SpecialGoodsTicketReq;
  9. import com.cyksj.model.request.TicketLoginReq;
  10. import com.cyksj.model.response.NetflixErrorAccountStatus;
  11. import com.cyksj.model.response.NetflixRecoverResp;
  12. import com.cyksj.model.response.NetflixRefundInfoResp;
  13. import com.cyksj.model.views.GoodsCategorySkuView;
  14. import com.cyksj.model.views.RenewalView;
  15. import com.cyksj.model.views.UserRecommendGoodsFrontView;
  16. import com.ejlchina.searcher.SearchResult;
  17. import java.util.List;
  18. /*
  19. *项目名: netflix
  20. *文件名: GroupRelationFrontService
  21. *创建者: JavaZou
  22. *创建时间:2022/12/29 15:42
  23. */
  24. public interface GroupRelationFrontService {
  25. SearchResult<RenewalView> getMyTicket(long userId, Boolean isLoginPopularize, String customId, String account, String orderNo, Integer cmt);
  26. Boolean isJoinCorpWx(Long userId, Boolean isJoin, Boolean noCoupon);
  27. GroupsRelation getSimilarExpiredGroupRelation(GoodsDonSku sku, List<Long> errorsRelationIds, String ip);
  28. Page<UserRecommendGoodsFrontView> getRecommendGoodsViews(Boolean isPayNf, List<Long> filter_goods_id, Boolean filterCourseGoods, Integer start, Integer limit);
  29. /**
  30. * 通过邮件发送课程
  31. */
  32. void sendCourseWare(SpecialGoodsTicketReq request) throws Exception;
  33. /**
  34. * 获取车票座位
  35. */
  36. GroupsRelation getRelation(Long payRelationId, Long userId, GoodsDonSku sku, String ip);
  37. /**
  38. * 获取车票账号登录 验证码
  39. */
  40. String getAiVerifyCode(TicketLoginReq loginReq) throws Exception;
  41. void checkGroupsAvailParkingNum(Long skuId, Long groupsId, Integer availableParkingNum, Integer maxNum);
  42. /**
  43. * 调整指定规格车队下次可 停用车位数的时间
  44. */
  45. void adjustGroupsParkingTime(Long relationId, GoodsDonSku sku);
  46. void setGroupsTripsParkingTimeEmpty(GoodsDonSku sku, Long relationId);
  47. Integer getUserCodeNumBySkuId(Long userId, Long skuId, Boolean isHasVerifyCode);
  48. List<RenewalView> getHasPayGoods(long userId);
  49. List<RenewalView> getExpiryRenewalNotify(Long userId);
  50. void getCollegeStudentUserGptTicket(Long userId);
  51. RenewalView getTicketDetail(long userId, Long relationId);
  52. GroupsRelation ticketLogin(TicketLoginReq loginReq);
  53. String outsideTicketVerify(TicketLoginReq loginReq);
  54. String getNfHouseholdDevice(long userId, Long relationId) throws Exception;
  55. String getVerifyCode(String account) throws Exception;
  56. void changeTicket(long userId, Long relationId);
  57. AccountView getTempAccount(long userId, Long relationId);
  58. void nfErrorAccountSubmit(long userId, Long relationId);
  59. NetflixErrorAccountStatus getNetflixErrorAccountStatus(long userId, Long relationId);
  60. List<NetflixUserAccountStatusRecord> getUserNetflixSubmitRecord(long userId);
  61. /**
  62. * 获取试用车票
  63. *
  64. * @param userId
  65. * @param trialSkuId
  66. * @return
  67. */
  68. Long getTrialTicketByUserIdAndGoodsId(Long userId, Long trialSkuId, Integer ticketType);
  69. Boolean getMirrorPopups(long userId);
  70. /**
  71. * 用户获取车票
  72. */
  73. Long getTicket(Long userId, Long skuId, Boolean isVip);
  74. Boolean getVipMirrorTicketIfEmpty(long userId, Long skuId);
  75. NetflixRecoverResp netflixSubmitRecover(ErrorNetflixChangeReq req);
  76. void errorNetflixSubmitChangeOtherTicket(ErrorNetflixChangeReq req) throws Exception;
  77. List<GoodsCategorySkuView> getNetflixReplaceOtherSkus(long userId, Long relationId) throws Exception;
  78. Boolean refundNetflix(ErrorNetflixChangeReq req) throws Exception;
  79. NetflixRefundInfoResp refundNetflixInfo(Long userId, Long relationId);
  80. }