Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ethan
/
appframe
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit f3e03565
authored
2026-06-17 18:30:59 +0800
by
ethanlamzs
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复推送问题
1 parent
168a3b5a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
lib/bloc/web_cubit.dart
lib/data/repositories/subs_repository.dart
lib/bloc/web_cubit.dart
View file @
f3e0356
...
@@ -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 登录失败"
);
...
...
lib/data/repositories/subs_repository.dart
View file @
f3e0356
...
@@ -15,7 +15,7 @@ class SubsRepository {
...
@@ -15,7 +15,7 @@ class SubsRepository {
{
{
"type"
:
type
,
"type"
:
type
,
"userid"
:
userid
,
"userid"
:
userid
,
"classCode"
:
classCode
,
"classCode
s
"
:
classCode
,
},
},
);
);
return
resp
.
data
;
return
resp
.
data
;
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment