|
@@ -831,17 +831,4 @@ public class GroupRelationController {
|
|
|
RenewalView ticketDetail = groupRelationFrontService.getTicketDetail(userId, relationId);
|
|
RenewalView ticketDetail = groupRelationFrontService.getTicketDetail(userId, relationId);
|
|
|
return GatewayResponse.SUCCESS.newBuilder().toResult(ticketDetail);
|
|
return GatewayResponse.SUCCESS.newBuilder().toResult(ticketDetail);
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
- /**
|
|
|
|
|
- * 车票详情
|
|
|
|
|
- */
|
|
|
|
|
- @GetMapping("/get/detail")
|
|
|
|
|
- public Result<RenewalView> getTicketDetail(Long relationId) {
|
|
|
|
|
- if (relationId == null) {
|
|
|
|
|
- return GatewayResponse.SUCCESS.newBuilder().toResult();
|
|
|
|
|
- }
|
|
|
|
|
- long userId = StpUserUtil.getLoginIdAsLong();
|
|
|
|
|
- RenewalView ticketDetail = groupRelationFrontService.getTicketDetail(userId, relationId);
|
|
|
|
|
- return GatewayResponse.SUCCESS.newBuilder().toResult(ticketDetail);
|
|
|
|
|
- }
|
|
|
|
|
}
|
|
}
|