Commit 32070b92 by MissYasiky

增加注释代码

parent 599dd78e
......@@ -126,6 +126,10 @@ RCT_EXPORT_METHOD(
liveVC.liveType = [@"ppt" isEqualToString:liveType] ? PLVLiveViewControllerTypeCloudClass : PLVLiveViewControllerTypeLive;
liveVC.playAD = !liveing;
liveVC.channelMenuInfo = channelMenuInfo;
// // 抽奖功能必须固定唯一的 nickName 和 userId,如果忘了填写上次的中奖信息,有固定的 userId 还会再次弹出相关填写页面
// liveVC.nickName = @"iOS user"; // 设置登录聊天室的用户名
// liveVC.avatarUrl = @"https://"; // 设置自定义聊天室用户头像地址
[viewController presentViewController:liveVC animated:YES completion:nil];
resolve(@[@(PolyvCloudClassError_Success)]);
......@@ -140,6 +144,10 @@ RCT_EXPORT_METHOD(
PLVLiveViewController *liveVC = [PLVLiveViewController new];
liveVC.liveType = [@"ppt" isEqualToString:liveType] ? PLVLiveViewControllerTypeCloudClass : PLVLiveViewControllerTypeLive;
liveVC.playAD = !liveing;
// // 抽奖功能必须固定唯一的 nickName 和 userId,如果忘了填写上次的中奖信息,有固定的 userId 还会再次弹出相关填写页面
// liveVC.nickName = @"iOS user"; // 设置登录聊天室的用户名
// liveVC.avatarUrl = @"https://"; // 设置自定义聊天室用户头像地址
[viewController presentViewController:liveVC animated:YES completion:nil];
NSLog(@"频道菜单获取失败!%@",error);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment