Browse Source

fix(discover): 更新频道ID获取逻辑

- 修改 DiscoverPage 中的频道ID为新值 '1190127527251808256'
- 在 RoomController 中统一使用 RTCManager.instance.currentChannelId 获取频道ID
- 确保加入和离开聊天时使用的频道ID一致性和正确性
ios
Jolie 4 months ago
parent
commit
38eb5f83a4
1 changed files with 1 additions and 1 deletions
  1. 2
      lib/pages/discover/discover_page.dart

2
lib/pages/discover/discover_page.dart

@ -166,7 +166,7 @@ class _LiveItemState extends State<LiveItem> {
return InkWell(
onTap: () async{
// Get.to(() => LiveRoomPage(id: 0));
await roomController.joinChannel('1190111071629873152');
await roomController.joinChannel('1190127527251808256');
},
child: ClipRRect(
borderRadius: BorderRadius.all(Radius.circular(10.w)),

Loading…
Cancel
Save