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
63cecef6
Commit
63cecef6
authored
Mar 15, 2022
by
Future
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
多人音视频相关实体
parent
c6ed3a4a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
125 additions
and
2 deletions
+125
-2
core/src/main/java/com/wecloud/im/controller/ImMultiMeetController.java
+1
-1
core/src/main/java/com/wecloud/im/entity/ImMultiRtcRoom.java
+48
-0
core/src/main/java/com/wecloud/im/entity/ImMultiRtcRoomMember.java
+48
-0
docs/db/feature-cluster增量.sql
+28
-1
No files found.
core/src/main/java/com/wecloud/im/controller/ImMultiMeetController.java
View file @
63cecef6
...
...
@@ -34,7 +34,7 @@ public class ImMultiMeetController extends BaseController {
private
MultiMeetService
multiMeetService
;
/**
*
并
邀请客户端加入
* 邀请客户端加入
*/
@PostMapping
(
"/invite"
)
@ApiOperation
(
value
=
"邀请加入多人音视频会议"
,
notes
=
"邀请加入多人音视频会议"
)
...
...
core/src/main/java/com/wecloud/im/entity/ImMultiRtcRoom.java
0 → 100644
View file @
63cecef6
package
com
.
wecloud
.
im
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
io.geekidea.springbootplus.framework.common.entity.BaseEntity
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
javax.validation.constraints.NotNull
;
import
java.util.Date
;
/**
* @Author wenzhida
* @Date 2022/3/15 23:09
* @Description 多人音视频房间
*/
@Data
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"多人音视频房间"
)
public
class
ImMultiRtcRoom
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
-
523597842194055670L
;
@NotNull
(
message
=
"主键id不能为空"
)
@ApiModelProperty
(
"主键id"
)
@TableId
(
value
=
"id"
,
type
=
IdType
.
INPUT
)
private
Long
id
;
@ApiModelProperty
(
"应用appid"
)
private
Long
fkAppid
;
@ApiModelProperty
(
"房间id"
)
private
String
roomId
;
@ApiModelProperty
(
"房间状态,1:已创建,2:会议中,3:会议结束"
)
private
Integer
state
;
@ApiModelProperty
(
"创建时间"
)
private
Date
createTime
;
@ApiModelProperty
(
"修改时间"
)
private
Date
updateTime
;
}
core/src/main/java/com/wecloud/im/entity/ImMultiRtcRoomMember.java
0 → 100644
View file @
63cecef6
package
com
.
wecloud
.
im
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
io.geekidea.springbootplus.framework.common.entity.BaseEntity
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
javax.validation.constraints.NotNull
;
import
java.util.Date
;
/**
* @Author wenzhida
* @Date 2022/3/15 23:09
* @Description 多人音视频房间成员
*/
@Data
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"多人音视频房间成员"
)
public
class
ImMultiRtcRoomMember
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
-
3806432271911087255L
;
@NotNull
(
message
=
"主键id不能为空"
)
@ApiModelProperty
(
"主键id"
)
@TableId
(
value
=
"id"
,
type
=
IdType
.
INPUT
)
private
Long
id
;
@ApiModelProperty
(
"im房间id"
)
private
Long
fkRtcRoomId
;
@ApiModelProperty
(
"客户端id"
)
private
String
clientId
;
@ApiModelProperty
(
"房间成员状态,1:呼叫中,2:已接听,3:已拒绝,4:未接听,5:已断开"
)
private
Integer
state
;
@ApiModelProperty
(
"创建时间"
)
private
Date
createTime
;
@ApiModelProperty
(
"修改时间"
)
private
Date
updateTime
;
}
docs/db/feature-cluster增量.sql
View file @
63cecef6
-- 在f
eature-cluster 2021年12月22日之后,需要执行的的sql增量脚本
-- 在f
eature-cluster 2021年12月22日之后,需要执行的的sql增量脚本
...
...
@@ -117,6 +117,33 @@ CREATE TABLE `im_client_device`
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
COMMENT
=
'客户端设备表'
;
-- 20220315 by wenzhida
CREATE
TABLE
`im_multi_rtc_room`
(
`id`
bigint
NOT
NULL
COMMENT
'主键id'
,
`fk_appid`
bigint
DEFAULT
NULL
COMMENT
'应用appid'
,
`room_id`
varchar
(
64
)
DEFAULT
NULL
COMMENT
'房间id'
,
`state`
tinyint
NOT
NULL
DEFAULT
'1'
COMMENT
'房间状态,1:已创建,2:会议中,3:会议结束'
,
`create_time`
timestamp
NULL
DEFAULT
NULL
COMMENT
'创建时间'
,
`update_time`
timestamp
NULL
DEFAULT
NULL
ON
UPDATE
CURRENT_TIMESTAMP
COMMENT
'修改时间'
,
PRIMARY
KEY
(
`id`
)
USING
BTREE
,
KEY
`idx_room_id`
(
`room_id`
)
USING
BTREE
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
COMMENT
=
'多人音视频房间表'
;
CREATE
TABLE
`im_multi_rtc_room_member`
(
`id`
bigint
NOT
NULL
COMMENT
'主键id'
,
`fk_rtc_room_id`
bigint
NOT
NULL
COMMENT
'im房间id'
,
`client_id`
bigint
NOT
NULL
COMMENT
'客户端id'
,
`state`
tinyint
NOT
NULL
DEFAULT
'1'
COMMENT
'房间成员状态,1:呼叫中,2:已接听,3:已拒绝,4:未接听,5:已断开'
,
`create_time`
timestamp
NULL
DEFAULT
NULL
COMMENT
'创建时间'
,
`update_time`
timestamp
NULL
DEFAULT
NULL
ON
UPDATE
CURRENT_TIMESTAMP
COMMENT
'修改时间'
,
PRIMARY
KEY
(
`id`
)
USING
BTREE
,
KEY
`idx_client_id`
(
`client_id`
)
USING
BTREE
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
COMMENT
=
'多人音视频房间成员表'
;
...
...
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