| | |
| | | this.appAuthSessionService = appAuthSessionService; |
| | | } |
| | | |
| | | public AppVzanLiveEntryVO createEntry(Long userId) { |
| | | Long sessionUserId = null; |
| | | try { |
| | | sessionUserId = appAuthSessionService.getLoginUserId(); |
| | | } catch (RuntimeException ex) { |
| | | log.warn("微赞直播入口会话userId获取失败,请检查APP Token格式,前端userId={}", userId, ex); |
| | | } |
| | | log.info("微赞直播入口userId对比,请求体userId={},会话userId={},是否一致={}", |
| | | userId, sessionUserId, java.util.Objects.equals(userId, sessionUserId)); |
| | | public AppVzanLiveEntryVO createEntry() { |
| | | Long userId = appAuthSessionService.getLoginUserId(); |
| | | LiveRoomSettingVO setting = liveRoomSettingService.current(); |
| | | String liveRoomUrl = setting == null ? null : StrUtil.trim(setting.getLiveRoomUrl()); |
| | | validateLiveRoomUrl(liveRoomUrl); |