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
6759f2aa
Commit
6759f2aa
authored
Mar 23, 2022
by
Future
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加日志打印
parent
d7a8e5cf
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
core/src/main/java/com/wecloud/im/controller/ImMultiMeetController.java
+2
-0
core/src/main/java/com/wecloud/im/service/impl/ImMultiRtcRoomServiceImpl.java
+1
-1
No files found.
core/src/main/java/com/wecloud/im/controller/ImMultiMeetController.java
View file @
6759f2aa
...
@@ -59,6 +59,7 @@ public class ImMultiMeetController extends BaseController {
...
@@ -59,6 +59,7 @@ public class ImMultiMeetController extends BaseController {
@PostMapping
(
"/agree"
)
@PostMapping
(
"/agree"
)
@ApiOperation
(
value
=
"同意进入会议"
,
notes
=
"同意进入会议"
)
@ApiOperation
(
value
=
"同意进入会议"
,
notes
=
"同意进入会议"
)
public
ApiResult
<
Boolean
>
agree
(
@RequestBody
AgreeToMultiMeetParam
param
)
{
public
ApiResult
<
Boolean
>
agree
(
@RequestBody
AgreeToMultiMeetParam
param
)
{
log
.
info
(
"同意进入多人音视频会议入参 {}"
,
JSON
.
toJSONString
(
param
));
multiMeetService
.
agree
(
param
);
multiMeetService
.
agree
(
param
);
return
ApiResult
.
ok
();
return
ApiResult
.
ok
();
}
}
...
@@ -66,6 +67,7 @@ public class ImMultiMeetController extends BaseController {
...
@@ -66,6 +67,7 @@ public class ImMultiMeetController extends BaseController {
@PostMapping
(
"/leave"
)
@PostMapping
(
"/leave"
)
@ApiOperation
(
value
=
"主动挂断(离开会议)"
,
notes
=
"主动挂断(离开会议)"
)
@ApiOperation
(
value
=
"主动挂断(离开会议)"
,
notes
=
"主动挂断(离开会议)"
)
public
ApiResult
<
Boolean
>
leave
(
@RequestBody
LeaveFromMultiMeetParam
param
)
{
public
ApiResult
<
Boolean
>
leave
(
@RequestBody
LeaveFromMultiMeetParam
param
)
{
log
.
info
(
"主动挂断多人音视频会议入参 {}"
,
JSON
.
toJSONString
(
param
));
multiMeetService
.
leave
(
param
);
multiMeetService
.
leave
(
param
);
return
ApiResult
.
ok
();
return
ApiResult
.
ok
();
}
}
...
...
core/src/main/java/com/wecloud/im/service/impl/ImMultiRtcRoomServiceImpl.java
View file @
6759f2aa
...
@@ -28,7 +28,7 @@ public class ImMultiRtcRoomServiceImpl extends BaseServiceImpl<ImMultiRtcRoomMap
...
@@ -28,7 +28,7 @@ public class ImMultiRtcRoomServiceImpl extends BaseServiceImpl<ImMultiRtcRoomMap
private
ImMultiRtcRoomService
imMultiRtcRoomService
;
private
ImMultiRtcRoomService
imMultiRtcRoomService
;
@Override
@Override
@Cacheable
(
key
=
"'rtcRoomKey_' + #p0+#p1"
)
//
@Cacheable(key = "'rtcRoomKey_' + #p0+#p1")
public
ImMultiRtcRoom
getCachedMultiRtcRoom
(
Long
fkAppid
,
String
roomId
)
{
public
ImMultiRtcRoom
getCachedMultiRtcRoom
(
Long
fkAppid
,
String
roomId
)
{
ImMultiRtcRoom
rtcRoom
=
imMultiRtcRoomService
.
getOne
(
new
QueryWrapper
<
ImMultiRtcRoom
>().
lambda
()
ImMultiRtcRoom
rtcRoom
=
imMultiRtcRoomService
.
getOne
(
new
QueryWrapper
<
ImMultiRtcRoom
>().
lambda
()
.
eq
(
ImMultiRtcRoom:
:
getFkAppid
,
fkAppid
)
.
eq
(
ImMultiRtcRoom:
:
getFkAppid
,
fkAppid
)
...
...
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