派生自 projectDept/qhighschool

EricsHu
2022-12-05 068fc7f2e81178e55fa191a13709af64b1a163f6
src/main/java/com/qxueyou/scc/controller/MsgChatroomMsgCtrl.java
@@ -28,12 +28,12 @@
            String userType) {
        try {
            if (StringUtils.isEmpty(chatroomId) || StringUtils.isEmpty(senderId) || StringUtils.isEmpty(content)) {
                return new Result(false, "参数错误");
                return new Result(false, "参数错误");
            }
            return service.doSendMessage(chatroomId, senderId, imgPath, alias, content, type, userType);
        } catch (Exception e) {
            e.printStackTrace();
            return new Result(false, "系统异常");
            return new Result(false, "系统异常");
        }
    }
@@ -44,7 +44,7 @@
            return service.getHistoryMes(chatroomId, pageNum);
        } catch (Exception e) {
            e.printStackTrace();
            return new Result(false, "系统异常");
            return new Result(false, "系统异常");
        }
    }
@@ -55,7 +55,7 @@
            return service.latestMsg(chatroomId);
        } catch (Exception e) {
            e.printStackTrace();
            return new Result(false, "系统异常");
            return new Result(false, "系统异常");
        }
    }
}