Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wecloud_im_server
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hewei
wecloud_im_server
Commits
2cc94c5e
Commit
2cc94c5e
authored
Mar 08, 2022
by
Future
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
日志补充
parent
e1990c69
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
core/src/main/java/com/wecloud/im/controller/ImMultiMeetController.java
+5
-2
No files found.
core/src/main/java/com/wecloud/im/controller/ImMultiMeetController.java
View file @
2cc94c5e
package
com
.
wecloud
.
im
.
controller
;
package
com
.
wecloud
.
im
.
controller
;
import
com.alibaba.fastjson.JSON
;
import
com.wecloud.im.param.InviteToMultiMeetParam
;
import
com.wecloud.im.param.InviteToMultiMeetParam
;
import
com.wecloud.im.param.RejectToMultiMeetParam
;
import
com.wecloud.im.param.RejectToMultiMeetParam
;
import
com.wecloud.im.param.rtc.RejectRtcChannelParam
;
import
com.wecloud.im.param.rtc.RejectRtcChannelParam
;
...
@@ -32,11 +33,12 @@ public class ImMultiMeetController extends BaseController {
...
@@ -32,11 +33,12 @@ public class ImMultiMeetController extends BaseController {
private
MultiMeetService
multiMeetService
;
private
MultiMeetService
multiMeetService
;
/**
/**
*
创建频道,
并邀请客户端加入
* 并邀请客户端加入
*/
*/
@PostMapping
(
"/invite"
)
@PostMapping
(
"/invite"
)
@ApiOperation
(
value
=
"邀请加入
"
,
notes
=
"邀请加入
"
)
@ApiOperation
(
value
=
"邀请加入
多人音视频会议"
,
notes
=
"邀请加入多人音视频会议
"
)
public
ApiResult
<
Boolean
>
invite
(
@RequestBody
InviteToMultiMeetParam
param
)
{
public
ApiResult
<
Boolean
>
invite
(
@RequestBody
InviteToMultiMeetParam
param
)
{
log
.
info
(
"邀请加入多人音视频会议入参 {}"
,
JSON
.
toJSONString
(
param
));
if
(
CollectionUtils
.
isEmpty
(
param
.
getToClients
()))
{
if
(
CollectionUtils
.
isEmpty
(
param
.
getToClients
()))
{
return
ApiResult
.
fail
(
ApiCode
.
PARAMETER_EXCEPTION
,
null
);
return
ApiResult
.
fail
(
ApiCode
.
PARAMETER_EXCEPTION
,
null
);
}
}
...
@@ -48,6 +50,7 @@ public class ImMultiMeetController extends BaseController {
...
@@ -48,6 +50,7 @@ public class ImMultiMeetController extends BaseController {
@PostMapping
(
"/reject"
)
@PostMapping
(
"/reject"
)
@ApiOperation
(
value
=
"拒接进入会议"
,
notes
=
"拒接进入会议"
)
@ApiOperation
(
value
=
"拒接进入会议"
,
notes
=
"拒接进入会议"
)
public
ApiResult
<
Boolean
>
reject
(
@RequestBody
RejectToMultiMeetParam
param
)
{
public
ApiResult
<
Boolean
>
reject
(
@RequestBody
RejectToMultiMeetParam
param
)
{
log
.
info
(
"拒绝加入多人音视频会议入参 {}"
,
JSON
.
toJSONString
(
param
));
multiMeetService
.
reject
(
param
);
multiMeetService
.
reject
(
param
);
return
ApiResult
.
ok
();
return
ApiResult
.
ok
();
}
}
...
...
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