Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
Project
Project
Details
Activity
Releases
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
mobile-group
galaxy-iOS
Commits
49ea243c
Commit
49ea243c
authored
Nov 25, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调通 相关方法
parent
22b0f661
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
2 deletions
+24
-2
YHIMTestViewController.swift
...vestreamSales(直播销售)/IM(环信)/C/YHIMTestViewController.swift
+24
-2
No files found.
galaxy/galaxy/Classes/Modules/LivestreamSales(直播销售)/IM(环信)/C/YHIMTestViewController.swift
View file @
49ea243c
...
...
@@ -11,7 +11,9 @@ import HyphenateChat
class
YHIMTestViewController
:
YHBaseViewController
{
private
let
roomID
:
String
=
"265249570750475"
private
let
roomID
:
String
=
"265231954673700"
private
let
yHID
:
String
=
"1040217809134595"
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
...
...
@@ -73,7 +75,7 @@ class YHIMTestViewController: YHBaseViewController {
EMClient
.
shared
()
.
chatManager
?
.
add
(
self
,
delegateQueue
:
nil
)
EMClient
.
shared
()
.
login
(
withUsername
:
"1040217809134595"
,
token
:
"YWMtqUTnNKsxEe-ZVA-eCJXgmszPhuTA1UDqp8xrPJoVisk1wDGwqzER74uZ-bqVfmOVAwMAAAGTY4WtWgABUYBw0BfZJnoSM_kNt49EM81gKznPICMuPw-M2Fhj96-G7Q"
)
{
name
,
err
in
EMClient
.
shared
()
.
login
(
withUsername
:
yHID
,
token
:
"YWMtqUTnNKsxEe-ZVA-eCJXgmszPhuTA1UDqp8xrPJoVisk1wDGwqzER74uZ-bqVfmOVAwMAAAGTY4WtWgABUYBw0BfZJnoSM_kNt49EM81gKznPICMuPw-M2Fhj96-G7Q"
)
{
name
,
err
in
if
let
err
=
err
{
print
(
err
)
...
...
@@ -172,6 +174,26 @@ private extension YHIMTestViewController {
}
})
EMClient
.
shared
()
.
roomManager
?
.
getChatroomSpecificationFromServer
(
withId
:
roomID
,
completion
:
{
emChatRoom
,
err
in
printLog
(
emChatRoom
)
if
let
err
=
err
{
}
else
{
if
let
roomInfo
=
emChatRoom
{
printLog
(
roomInfo
.
adminList
)
printLog
(
roomInfo
.
chatroomId
)
printLog
(
roomInfo
.
blacklist
)
printLog
(
roomInfo
.
memberList
)
}
}
})
}
...
...
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