Commit 98947620 by 邹磊浩

修改代码

parent 34fa96fe
......@@ -67,7 +67,7 @@ public class InsertTestOrderTask {
public static List<Integer> businessIds = Arrays.asList(0, 1, 2, 3, 4, 5, 6);
@Scheduled(cron = "0 0 0 * * ?") // 凌晨12点执行
// @Scheduled(cron = "0 0 0 * * ?") // 凌晨12点执行
public void insertOrder() throws InterruptedException {
// 就诊人员
List<UserVsitor> userVsitors = userVsitorMapper.selectList(Wrappers.<UserVsitor>lambdaQuery().last("limit 20"));
......
......@@ -106,6 +106,7 @@ public class WebSocketOneToOneController {
String lastMessageTime = json.getString("lastMessageTime"); // 使用类型推断,如果不存在键"lastMessageTime",则为null
Long receiveId = json.getLong("receiveId"); // 发送对象的用户标识(接收者)
String createTime = json.getString("createTime");
log.info("json:", json);
// 发送消息
send(msg, sendId, receiveId, roomId, msgType, requestId, lastMessageTime, sessionId, createTime);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment