session关闭操作
This commit is contained in:
@@ -3,7 +3,6 @@ package com.chaozhanggui.system.cashierservice.controller;
|
|||||||
import com.chaozhanggui.system.cashierservice.entity.TbGroupOrderInfo;
|
import com.chaozhanggui.system.cashierservice.entity.TbGroupOrderInfo;
|
||||||
import com.chaozhanggui.system.cashierservice.entity.dto.CreateGroupOrderDto;
|
import com.chaozhanggui.system.cashierservice.entity.dto.CreateGroupOrderDto;
|
||||||
import com.chaozhanggui.system.cashierservice.entity.dto.GroupOrderDto;
|
import com.chaozhanggui.system.cashierservice.entity.dto.GroupOrderDto;
|
||||||
import com.chaozhanggui.system.cashierservice.entity.dto.OrderDto;
|
|
||||||
import com.chaozhanggui.system.cashierservice.service.GroupOrderCouponService;
|
import com.chaozhanggui.system.cashierservice.service.GroupOrderCouponService;
|
||||||
import com.chaozhanggui.system.cashierservice.service.GroupOrderInfoService;
|
import com.chaozhanggui.system.cashierservice.service.GroupOrderInfoService;
|
||||||
import com.chaozhanggui.system.cashierservice.sign.CodeEnum;
|
import com.chaozhanggui.system.cashierservice.sign.CodeEnum;
|
||||||
|
|||||||
@@ -172,6 +172,7 @@ public class AppWebSocketServer {
|
|||||||
}
|
}
|
||||||
userSet.remove(userId);
|
userSet.remove(userId);
|
||||||
}
|
}
|
||||||
|
session.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user