|
|
@@ -35,6 +35,7 @@ import com.cyksj.redis.RedisService;
|
|
|
import com.cyksj.service.chatgpt.ChatGptAccountService;
|
|
|
import com.cyksj.service.chatgpt.ChatGptAuthService;
|
|
|
import com.cyksj.service.groups.GroupsFuncService;
|
|
|
+import com.cyksj.service.luma.LumaService;
|
|
|
import com.cyksj.service.mail.CuiQiuMailService;
|
|
|
import com.cyksj.service.mail.MailService;
|
|
|
import com.cyksj.service.mange.coupon.CouponCommonService;
|
|
|
@@ -126,7 +127,7 @@ public class GroupRelationFrontServiceImpl implements GroupRelationFrontService
|
|
|
|
|
|
private final UpgradePackageMapper upgradePackageMapper;
|
|
|
|
|
|
- private final GoodsDonQaRelateMapper goodsDonQaRelateMapper;
|
|
|
+ private final LumaService lumaService;
|
|
|
|
|
|
private final GroupsRelationNetflixService groupsRelationNetflixService;
|
|
|
|
|
|
@@ -299,6 +300,13 @@ public class GroupRelationFrontServiceImpl implements GroupRelationFrontService
|
|
|
}
|
|
|
ticket.setIsRenewPackage(userInfo.getIsRenewPackage());
|
|
|
}
|
|
|
+ if (ticket.getGoodsId() == Constant.LUMA_GOODS_ID && ticket.getExpiryTime() != null) {
|
|
|
+ try {
|
|
|
+ LumaUser lumaUser = lumaService.getLumaUser(userId, ticket.getRelationId());
|
|
|
+ ticket.setLumaUserNum(lumaUser.getNum());
|
|
|
+ } catch (Exception e) {
|
|
|
+ }
|
|
|
+ }
|
|
|
List<GroupsRelationUserView> relationUserViews = groupsRelationMapper.getUserRelationUserViews(ticket.getGroupId(), ticket.getRelationId(), ticket.getUserId(), List.of(GroupsRelation.Status.validity, GroupsRelation.Status.outside));
|
|
|
ticket.setRelationViews(relationUserViews);
|
|
|
if (ticket.getExpiryTime() != null) {
|