Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨凯
YDL-Component-Medical
Commits
49700251
Commit
49700251
authored
Apr 06, 2022
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:todo
parent
61b3d0b7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
NewMultiMessageFragment.kt
m-im/src/main/java/com/yidianling/im/ui/page/NewMultiMessageFragment.kt
+1
-1
TeamCreateHelper.java
m-im/src/main/java/com/yidianling/uikit/business/team/helper/TeamCreateHelper.java
+2
-0
No files found.
m-im/src/main/java/com/yidianling/im/ui/page/NewMultiMessageFragment.kt
View file @
49700251
...
...
@@ -356,7 +356,7 @@ class NewMultiMessageFragment : BaseFragment() {
// ToastUtil.toastShort("请登录后再试")
// }
// NimUIKit.startYDLChatting(context,"4597318766",SessionTypeEnum.Team,null,null,null)
SessionHelper
.
startTeamSession
(
context
,
"4621
207543
"
)
SessionHelper
.
startTeamSession
(
context
,
"4621
534238
"
)
}
}
/**
...
...
m-im/src/main/java/com/yidianling/uikit/business/team/helper/TeamCreateHelper.java
View file @
49700251
...
...
@@ -14,6 +14,7 @@ import com.netease.nimlib.sdk.msg.constant.SessionTypeEnum;
import
com.netease.nimlib.sdk.msg.model.CustomMessageConfig
;
import
com.netease.nimlib.sdk.msg.model.IMMessage
;
import
com.netease.nimlib.sdk.team.TeamService
;
import
com.netease.nimlib.sdk.team.constant.TeamBeInviteModeEnum
;
import
com.netease.nimlib.sdk.team.constant.TeamFieldEnum
;
import
com.netease.nimlib.sdk.team.constant.TeamTypeEnum
;
import
com.netease.nimlib.sdk.team.model.CreateTeamResult
;
...
...
@@ -108,6 +109,7 @@ public class TeamCreateHelper {
TeamTypeEnum
type
=
TeamTypeEnum
.
Advanced
;
HashMap
<
TeamFieldEnum
,
Serializable
>
fields
=
new
HashMap
<>();
fields
.
put
(
TeamFieldEnum
.
Name
,
teamName
);
fields
.
put
(
TeamFieldEnum
.
BeInviteMode
,
TeamBeInviteModeEnum
.
NoAuth
);
NIMClient
.
getService
(
TeamService
.
class
).
createTeam
(
fields
,
type
,
""
,
memberAccounts
).
setCallback
(
new
RequestCallback
<
CreateTeamResult
>()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment