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 005587c7
authored
2026-06-29 11:48:45 +0800
by
tanghuan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
打开IM开关,取消加群和退群的代码注释,调整群组Http请求的参数名
1 parent
e38f11fb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
lib/bloc/web_cubit.dart
lib/config/constant.dart
lib/data/repositories/subs_repository.dart
lib/bloc/web_cubit.dart
View file @
005587c
...
...
@@ -452,7 +452,7 @@ class WebCubit extends Cubit<WebState> with WidgetsBindingObserver {
imService
.
registerPush
();
// 处理加群和退群
if
(
state
.
loginOpFlag
)
{
//
imService.joinAndLeaveGroup(state.userCode!);
imService
.
joinAndLeaveGroup
(
state
.
userCode
!);
}
}
else
{
debugPrint
(
"缓存自动登录处,IM 登录失败"
);
...
...
lib/config/constant.dart
View file @
005587c
...
...
@@ -122,6 +122,6 @@ class Constant {
static
const
String
hasShownPrivacyFirstTimeKey
=
'has_shown_privacy_first_time'
;
/// 测试阶段使用
static
const
bool
needIM
=
fals
e
;
static
const
bool
needIM
=
tru
e
;
static
const
bool
needUpgrade
=
true
;
}
lib/data/repositories/subs_repository.dart
View file @
005587c
...
...
@@ -18,7 +18,7 @@ class SubsRepository {
{
"type"
:
type
,
"userid"
:
userid
,
"classCode"
:
classCode
,
"classCode
s
"
:
classCode
,
},
);
return
resp
.
statusCode
==
HttpStatus
.
ok
?
resp
.
data
:
null
;
...
...
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