Răsfoiți Sursa

fix: 一些小bug

xsx 1 an în urmă
părinte
comite
612f0b5468

+ 1 - 1
im-platform/src/main/java/com/bx/implatform/controller/WebrtcGroupController.java

@@ -114,7 +114,7 @@ public class WebrtcGroupController {
         return ResultUtils.success(webrtcGroupService.info(groupId));
     }
 
-    @Operation(summary = "获取通话信息")
+    @Operation(summary = "心跳")
     @PostMapping("/heartbeat")
     public Result heartbeat(@RequestParam("groupId") Long groupId) {
         webrtcGroupService.heartbeat(groupId);

+ 1 - 1
im-platform/src/main/java/com/bx/implatform/controller/WebrtcPrivateController.java

@@ -68,7 +68,7 @@ public class WebrtcPrivateController {
         return ResultUtils.success();
     }
 
-    @Operation(summary = "获取通话信息")
+    @Operation(summary = "心跳")
     @PostMapping("/heartbeat")
     public Result heartbeat(@RequestParam Long uid) {
         webrtcPrivateService.heartbeat(uid);

+ 1 - 1
im-platform/src/main/java/com/bx/implatform/vo/PrivateMessageVO.java

@@ -23,7 +23,7 @@ public class PrivateMessageVO {
     @Schema(description = " 发送内容")
     private String content;
 
-    @Schema(description = "消息内容类型 IMCmdType")
+    @Schema(description = "消息内容类型 MessageType")
     private Integer type;
 
     @Schema(description = " 状态")

+ 2 - 2
im-uniapp/common/messageType.js

@@ -21,12 +21,12 @@ let isAction = function(type){
 
 // 单人通话信令
 let isRtcPrivate = function(type){
-	return type>=100 && type < 300;
+	return type>=100 && type < 200;
 }
 
 // 多人通话信令
 let isRtcGroup = function(type){
-	return type>=200 && type < 400;
+	return type>=200 && type < 300;
 }
 
 

+ 2 - 2
im-web/src/api/messageType.js

@@ -21,12 +21,12 @@ let isAction = function(type){
 
 // 单人通话信令
 let isRtcPrivate = function(type){
-	return type>=100 && type < 300;
+	return type>=100 && type < 200;
 }
 
 // 多人通话信令
 let isRtcGroup = function(type){
-	return type>=200 && type < 400;
+	return type>=200 && type < 300;
 }