Commit f3e03565 by ethanlamzs

修复推送问题

1 parent 168a3b5a
...@@ -391,7 +391,7 @@ class WebCubit extends Cubit<WebState> with WidgetsBindingObserver { ...@@ -391,7 +391,7 @@ class WebCubit extends Cubit<WebState> with WidgetsBindingObserver {
imService.registerPush(); imService.registerPush();
// 处理加群和退群 // 处理加群和退群
if (state.loginOpFlag) { if (state.loginOpFlag) {
// imService.joinAndLeaveGroup(state.userCode!); imService.joinAndLeaveGroup(state.userCode!);
} }
} else { } else {
debugPrint("缓存自动登录处,IM 登录失败"); debugPrint("缓存自动登录处,IM 登录失败");
......
...@@ -15,7 +15,7 @@ class SubsRepository { ...@@ -15,7 +15,7 @@ class SubsRepository {
{ {
"type": type, "type": type,
"userid": userid, "userid": userid,
"classCode": classCode, "classCodes": classCode,
}, },
); );
return resp.data; return resp.data;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!