🔥 移除代码或文件 删除代码中无用导入
This commit is contained in:
1 parent
fbeaee13c0
commit
464aea125e
1 file changed
-3
-3
@@ -3,7 +3,6 @@ package com.pig4cloud.pigx.common.websocket.custom;
|
||||
import com.pig4cloud.pigx.common.security.service.PigxUser;
|
||||
import com.pig4cloud.pigx.common.websocket.holder.SessionKeyGenerator;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.springframework.cloud.client.ServiceInstance;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.web.socket.WebSocketSession;
|
||||
|
||||
@@ -15,8 +14,6 @@ import org.springframework.web.socket.WebSocketSession;
|
||||
@RequiredArgsConstructor
|
||||
public class PigxSessionKeyGenerator implements SessionKeyGenerator {
|
||||
|
||||
private final ServiceInstance instance;
|
||||
|
||||
/**
|
||||
* 获取当前session的唯一标识
|
||||
* @param webSocketSession 当前session
|
||||
|
||||
Reference in new issue
Block a user